English
Language : 

M16C65 Datasheet, PDF (474/829 Pages) Renesas Technology Corp – RENESAS MCU M16C FAMILY / M16C/60
Under development
M16C/65 Group
Preliminary Specification
This is a preliminary specification and is subject to change.
21. Pulse Width Modulator
PWMENi bit in the
PWMCON1 register
PWMi prescaler
pre-latch
PWMi register
pre-latch
m1
n1
change by a program
PWMi output disabled
m2
Set registers PWMPREi and PWMREGi by a program.
n2
PWMi prescaler
latch
m1
m2
PWMi register
latch
PWMi output
e.g.1
n1
(m1+1) × n1
fj
n2
Rewritten value is reflected in 2nd cycle of PWM output
(m1+1) × n1
fj
(m2+1) × n2
fj
(28-1) × (m1+1)
fj
Maintain output level of when
PWMi output is disabled
(m1+1) × n1
fj
(28-1) × (m1+1)
fj
(28-1) × (m2+1)
fj
e.g.2
(28-1) × (m1+1)
fj
PWMi outputs with value before the PWMi output is
disabled for first cycle after PWMi output is enabled
i: 0, 1
fj: PWM count source frequency
The above applies when the PWMPORTi bit in the PWMCON1 register is set to 1 (PWMi output).
Figure 21.4 PWMi Output Example (PWM Output Disabled and PWM Output Resumed)
REJ09B0484-0030 Rev.0.30 Sep 09, 2008
Page 439 of 791