Renesas H8S/2100 Series Hardware Manual page 241

6-bit single-chip microcomputer
Hide thumbs Also See for H8S/2100 Series:
Table of Contents

Advertisement

generator
Figure 9.3 Block Diagram of 12 and 16-bit Single Pulse Mode
When the PWMnE bit (n = 0 to 5) in PWMOUTCR 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 9.4 shows an example of duty counter and clock generator counter operation.
φ
φ/4
Duty
counter
Clock generator
counter
PRELAT
REGLAT
PWMUO
Figure 9.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)
Clock
PRELAT0
PRELAT1
H'78
H'01
H'00
H'01
Section 9 8-Bit PWM Timer (PWMU)
CNT0
Comparator 0
REGLAT0
CNT1
Comparator 1
REGLAT1
H'79
H'80
H'00
H'01
H'01
H'80
Rev. 1.00 May 09, 2008 Page 215 of 954
PWMU00
(Output disabled)
PWMU01
H'81
H'00
H'01
H'00
REJ09B0462-0100

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2112r

Table of Contents