Jameco Electronics 2000, 3000 manual 17.PWM LSB x Register, 18.PWM MSB x Register

Models: 3000 2000

1 349
Download 349 pages 5.72 Kb
Page 113
Image 113
Table 7-17. PWM LSB x Register

n=255, normal

n=255, spread

n=256, spread

n=257, spread

n=258, spread

n=259, spread

n=259, normal

(64 counts)

(65 counts)

(65 counts)

(65 counts)

(65 counts)

(256 counts)

 

(64

counts)

 

(64

counts)

 

(64

counts)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(64

counts)

 

(64

counts)

 

(64

counts)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(64

counts)

 

 

(65

counts)

 

(64

counts)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(65

counts)

 

 

(65

counts)

 

(64

counts)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(65

counts)

 

 

(65

counts)

 

 

(65 counts)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(260 counts)

Table 7-17. PWM LSB x Register

 

PWM LSB x Register

(PWL0R)

(Address = 0x88)

 

 

 

(PWL1R)

(Address = 0x8A)

 

 

 

(PWL2R)

(Address = 0x8C)

 

 

 

(PWL3R)

(Address = 0x8E)

Bit(s)

Value

 

Description

 

 

 

 

7:6

write

The least significant two bits for the Pulse Width Modulator count are stored.

 

 

 

 

 

5:1

 

These bits are ignored.

 

 

 

 

 

 

0

0

PWM output High for single block.

 

 

 

 

 

 

1

Spread PWM output throughout the cycle.

 

 

 

 

 

 

Table 7-18. PWM MSB x Register

 

PWM MSB x Register

(PWM0R)

(Address = 0x89)

 

 

 

(PWM1R)

(Address = 0x8B)

 

 

 

(PWM2R)

(Address = 0x8D)

 

 

 

(PWM3R)

(Address = 0x8F)

Bit(s)

Value

 

Description

 

 

 

 

 

 

The most significant eight bits for the Pulse Width Modulator count are stored.

7:0

write

With a count of "n", the PWM output will be High for "n + 1" clocks out of the

 

 

1024 clocks of the PWM counter.

 

 

 

 

 

 

104

Rabbit 3000 Microprocessor

Page 113
Image 113
Jameco Electronics 2000, 3000 manual 17.PWM LSB x Register, 18.PWM MSB x Register