Download DM7820 User`s Manual
Transcript
Field WIDTH_CLK[3:0] Description 2 82C54 TC A0 1 Reserved 0 25 MHz Selects the master clock for the width counter. See above for value definitions. PWMn_PERIOD Sets the period of the PWM outputs. PWMn_CLK[PER_CLK]. The period is based on the clock selected in 15 0 PERIOD[15:0] RW,+0 Field PERIOD[15:0] Description The period of the output is: ( PERIOD + 1) Period _ Clock _ Frequency PWMn_WIDTHx Sets the width of output x of the pulse width modulator. The width is based on the clock selected in PWMn_CLK[WIDTH_CLK]. The width is defined as the time that the non-inverted output is high, and the inverted output is low. The width register is checked at the beginning of every period. If the width register is modified in the middle of a period, the output will not be affected until the next period. Note that with PWMn_PERIOD set to the maximum value, and the period clock and width clock set to the same source, a 100% duty cycle is not possible. 15 0 WIDTH[15:0] RW,+0 Field WIDTH[15:0] Description The width of the output: WIDTH Width _ Clock _ Frequency 82C54 Timer Counter n The following section is taken from the MSM82C54 Datasheet from Oki Semiconductors. For information on programming the 82C54 timer counters, please consult the datasheet. DM7820 User's Manual 52 RTD Embedded Technologies, Inc.