Section 8 8-Bit PWM Timer (PWMU)
Rev. 1.00 Apr. 28, 2008 Page 212 of 994
REJ09B0452-0100
When the PWMnE bit (n = 0 to 5) in PWMCONB is set to 1, the PWMU outputs pulses that start
with a high level. The updated PWMREG value is written in REGLAT, and the updated
PWMPRE value is written in PRELAT.
When the REGLAT value is less than the duty counter value, the PWMU outputs a high level
(when direct output is selected). At each PWM clock timing, the duty counter is incremented.
When the clock generator counter is H'00, the PWM clock is generated by decrementing the
PRELAT value.
Figure 8.4 shows an example of duty counter and clock generator counter operation.
H'78
φ
φ
/4
Duty
counter
Clock generator
counter
PRELAT
REGLAT
PWMUO
H'79
H'80
H'80
H'81
H'01
H'01
H'01
H'01
H'01
H'00
H'00
H'00
H'00
Figure 8.4 Example of Duty Counter and Clock Generator Counter Operation
(When PWMPRE = H'01 and PWMREG = H'80 with
φ
/4 Selected as Count Clock Source)
The following shows the duty counter value and PWMU output timing.
H'FF
Duty counter
REGLAT
H'00
PWMUO
Figure 8.5 Duty Counter Value and PWMU Output Timing
Summary of Contents for H8S/2100 Series
Page 2: ...Rev 1 00 Apr 28 2008 Page ii of xxvi...
Page 54: ...Section 1 Overview Rev 1 00 Apr 28 2008 Page 28 of 994 REJ09B0452 0100...
Page 92: ...Section 2 CPU Rev 1 00 Apr 28 2008 Page 66 of 994 REJ09B0452 0100...
Page 158: ...Section 5 Interrupt Controller Rev 1 00 Apr 28 2008 Page 132 of 994 REJ09B0452 0100...
Page 244: ...Section 8 8 Bit PWM Timer PWMU Rev 1 00 Apr 28 2008 Page 218 of 994 REJ09B0452 0100...
Page 330: ...Section 10 16 Bit Timer Pulse Unit TPU Rev 1 00 Apr 28 2008 Page 304 of 994 REJ09B0452 0100...
Page 416: ...Section 13 8 Bit Timer TMR Rev 1 00 Apr 28 2008 Page 390 of 994 REJ09B0452 0100...
Page 612: ...Section 18 I 2 C Bus Interface IIC Rev 1 00 Apr 28 2008 Page 586 of 994 REJ09B0452 0100...
Page 706: ...Section 20 LPC Interface LPC Rev 1 00 Apr 28 2008 Page 680 of 994 REJ09B0452 0100...
Page 752: ...Section 21 FSI Interface Rev 1 00 Apr 28 2008 Page 726 of 994 REJ09B0452 0100...
Page 774: ...Section 23 RAM Rev 1 00 Apr 28 2008 Page 748 of 994 REJ09B0452 0100...
Page 1008: ...Section 28 Electrical Characteristics Rev 1 00 Apr 28 2008 Page 982 of 994 REJ09B0452 0100...
Page 1020: ...Rev 1 00 Apr 28 2008 Page 994 of 994 REJ09B0452 0100...
Page 1023: ......
Page 1024: ...H8S 2117R Group Hardware Manual...