Download Rabbit ® 3000 Microprocessor User`s Manual

Transcript
n = 255, normal
(256 counts)
n = 255, spread
(64 counts)
(64 counts)
(64 counts)
(64 counts)
n = 256, spread
(65 counts)
(64 counts)
(64 counts)
(64 counts)
n = 257, spread
(65 counts)
(64 counts)
(65 counts)
(64 counts)
n = 258, spread
(65 counts)
(65 counts)
(65 counts)
(64 counts)
n = 259, spread
(65 counts)
(65 counts)
(65 counts)
(65 counts)
n = 259, normal
(260 counts)
Table 7-17. PWM LSB x Register
PWM LSB x Register
Bit(s)
Value
7:6
write
5:1*
0
(PWL0R)
(PWL1R)
(PWL2R)
(PWL3R)
(Address = 0x88)
(Address = 0x8A)
(Address = 0x8C)
(Address = 0x8E)
Description
The least significant two bits for the Pulse Width Modulator count are stored.
These bits are ignored.
0
PWM output High for single block.
1
Spread PWM output throughout the cycle.
* See Table B-25 to Table B-27 for configuration information involving bits 5:1 reflecting the additional
capabilities of Rev. A and later Rabbit 3000 microprocessors.
Table 7-18. PWM MSB x Register
PWM MSB x Register
Bit(s)
Value
7:0
write
104
(PWM0R)
(PWM1R)
(PWM2R)
(PWM3R)
(Address = 0x89)
(Address = 0x8B)
(Address = 0x8D)
(Address = 0x8F)
Description
The most significant eight bits for the Pulse Width Modulator count are stored.
With a count of "n", the PWM output will be High for "n + 1" clocks out of the
1024 clocks of the PWM counter.
Rabbit 3000 Microprocessor User’s Manual