CHAPTER 8 PROGRAMMABLE PULSE GENERATOR (PPG) TIMER
■ When Reactivation is Enabled
Figure 8.3-2 shows the timing chart for PWM operation when reactivation is enabled.
Figure 8.3-2 Timing Chart for PWM Operation with Reactivation Enabled
Start
Trigger
m
n
0
PPG
[PWM Mode]
In PWM mode, the PPG timer can output pulses continuously after an activation trigger signal is
detected.
The output pulse cycle can be controlled by changing the PCSR value, and the duty ratio can be
controlled by changing the PDUT value.
Note:
After data is written to PCSR, be sure to write data to PDUT.
316
Rising edge detection
Trigger restarted
(1)
(2)
(1) = T (n+1) ms
T : Count clock cycle
(2) = T (m+1) ms
m : PCSR value
n : PDUT value