R01UH0136EJ0210 Rev.2.10
Page 394 of 800
Jul 31, 2012
M16C/64A Group
21. Pulse Width Modulator
Figure 21.1
Block Diagram of PWM
21.2
Registers
Table 21.2
I/O Ports
Port
I/O
Function
PWM0
Output
(1)
PWM output
PWM1
Note:
1.
Set the direction bit corresponding to selected pin to 1 (output mode)
Table 21.3
Registers
Address
Register
Symbol
Reset Value
PWM0 register
prelatch
The above shows an example block diagram of PWM0.
PWMSEL0, PWMCLK1, PWMCLK0 : Bits in the PWMCON0 register
PWMEN0, PWMPORT0 : Bits in the PWMCON1 register
PD4_6 : Bit in the PD4 register
PD9_3 : Bit in the PD9 register
PWM0 prescaler
prelatch
Transfer control circuit
PWM0 register
latch
PWM0 prescaler
=01b
PWMCLK1 to PWMCLK0
=00b
=10b
=11b
1/2
1/4
1/8
1/16
f1
PD4_6
PD9_3
PWM0
PWM0
PWMPORT0
PWMSEL0
PWMEN0
PWM0 prescaler
latch
PWM0 register
Data bus
Содержание M16C/60 Series
Страница 853: ...M16C 64A Group R01UH0136EJ0210...