
1-29
HARDWARE
3802 GROUP USER’S MANUAL
A
B
C
B
T
C
T2
=
PWM output
PWM register
write signal
PWM prescaler
write signal
(Changes from “A” to “B” during “H” period)
(Changes from “T” to “T2” during PWM period)
When the contents of the PWM register or PWM prescaler have changed, the PWM
output will change from the next period after the change.
T
T
T2
Fig. 28 Structure of PWM control register
Fig. 29 PWM output timing when PWM register or PWM prescaler is changed
PWM control register
(PWMCON : address 002B
16
)
PWM function enable bit
0: PWM disabled
1: PWM enabled
Count source selection bit
0: f(X
IN
)
1: f(X
IN
)/2
Not used (return “0” when read)
b7
b0
FUNCTIONAL DESCRIPTION