MB90420/5 (A) SERIES F
13.4 Operation of PPG Timer
The operation of the PPG timer is explained.
13.4.1 PWM Operation
At PWM operation, a continuous pulse can be output from detection of the start trigger. The cycle of the
output pulse is controlled by changing the PCSR value and the duty ratio is controlled by changing the PDUT
value.
n When restart disabled
Start trigger
m
n
O
PPG
(1) = T (n+1) µs
(2) = T (m+1) µs
n When restart enabled
Start trigger
m
n
o
PPG
2
MC-16LX FAMILY 16-BIT MICROCONTROLLERS HARDWARE MANUAL
Rising edge detected
(2)
Fig. 13.2 Timing of Disabling PWM Operation Restart
Rising edge detected
Fig. 13.3 Timing of Enabling PWM Operation Restart
(1)
T : Count clock cycle
m : PCSR value
n : PDUT value
Restart by trigger
(1)
(2)
13-10
Trigger ignored