Datasheet
Section 9 8-Bit PWM Timer (PWM)
Rev. 3.00 Mar 21, 2006 page 239 of 788
REJ09B0300-0300
9.4 Operation
The upper four bits of PWDR specify the duty cycle of the basic pulse as 0/16 to 15/16 with a
resolution of 1/16. Table 9.4 shows the duty cycles of the basic pulse.
Table 9.4 Duty Cycle of Basic Pulse
0123456789ABCDEF0
Upper 4 Bits Basic Pulse Waveform (Internal)
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
1011
1100
1101
1110
1111
The lower four bits of PWDR specify the position of pulses added to the 16 basic pulses. An
additional pulse adds a high period (when OS = 0) with a width equal to the resolution before the
rising edge of a basic pulse. When the upper four bits of PWDR are 0000, there is no rising edge
of the basic pulse, but the timing for adding pulses is the same. Table 9.5 shows the positions of