M16C/64A Group
21. Pulse Width Modulator
21.1
Introduction
The pulse width modulator (PWM) consists of two independent PWM circuits. Table 21.1 lists PWM
Specifications, Figure 21.1 shows Block Diagram of PWM, and Table 21.2 lists I/O Ports.
Table 21.1
PWM Specifications
Item
Resolution
Count source
PWM Cycle
High-level pulse width
Selectable function
i = 0, 1
R01UH0136EJ0210 Rev.2.10
Jul 31, 2012
8 bits
f1 divided by 2, 4, 8, or 16
8
(
)
×
(
)
2
–
1
m
+
1
(Unit: s)
------------------------------------------- -
fj
m: PWMPREi register setting value
fj: Count source frequency (Unit : Hz)
(
) n
×
m
+
1
---------------------------
(Unit: s)
fj
m: PWMPREi register setting value
n: PWMREGi register setting value
fj: Count source frequency (Unit: Hz)
Select output pin: P4 or P9
21. Pulse Width Modulator
Specification
Page 393 of 800