R01UH0136EJ0210 Rev.2.10
Page 393 of 800
Jul 31, 2012
M16C/64A Group
21. Pulse Width Modulator
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
Specification
Resolution
8 bits
Count source
f1 divided by 2, 4, 8, or 16
PWM Cycle
(Unit: s)
m: PWMPREi register setting value
fj: Count source frequency (Unit : Hz)
High-level pulse width
(Unit: s)
m: PWMPREi register setting value
n: PWMREGi register setting value
fj: Count source frequency (Unit: Hz)
Selectable function
Select output pin: P4 or P9
i = 0, 1
2
8
1
–
(
)
m
1
+
(
)
×
fj
--------------------------------------------
m
1
+
(
)
n
×
fj
---------------------------
Содержание M16C/60 Series
Страница 853: ...M16C 64A Group R01UH0136EJ0210...