MITSUBISHI MICROCOMPUTERS
3827 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
b0
b7
PWM control register
(PWMCON : address 002B16
)
Count source selection bit
0: f(XIN
)
1: f(XIN)/2
PWM
0: PWM
1: PWM
0
function enable bit
0
disabled
enabled
0
PWM1 function enable bit
0: PWM
1: PWM
1
disabled
enabled
1
Not used (return “0” when read)
Fig. 31 Structure of PWM control register
C
T2
B
T
=
C
A
B
PWM
(internal)
stop
Port
stop
T
T2
T
Port
PWM
PWM
0
1
output
output
Port
Port
PWM register
write signal
(Changes from “A” to “B” during “H” period)
PWM prescaler
write signal
(Changes from “T” to “T2” during PWM period)
PWM
0 function
enable bit
PWM
1 function
enable bit
When the contents of the PWM register or PWM prescaler have changed, the PWM
output will change from the next period after the change.
Fig. 32 PWM output timing when PWM register or PWM prescaler is changed
32