7.6
PPG Timer Interrupt Source and Timing Chart
This section describes interrupt sources and provides the related timing charts.
■ Interrupt Sources and Timing Chart (PPG Output: Normal Polarity)
Figure 7.6-1 shows the PPG timer interrupt sources and a timing chart.
A maximum time of 2.5 T (T: counter clock cycle) is required from when a start trigger is activated
to when the counter value is loaded.
Figure 7.6-1 PPG Timer Interrupt Sources and Timing Chart
Start trigger
Load
Clock
Count value
X
PPG
Interrupt
■ Examples for Setting PPG Output to all-"L" or all-"H"
Figure 7.6-2 shows how to set the PPG output to all-"L".
PPG
Decrease the
duty ratio in
stages.
Maximum of 2.5 T
0003
0002
Valid edge
Figure 7.6-2 Example of Setting PPG Output to all-"L"
0001
Duty match
Set the PGMS (mask bit) to "1" by issuing a borrow interrupt.
Setting the PGMS (mask bit) to "0" with borrow interrupt
allows to output a PPG waveform without whisker.
CHAPTER 7 PPG TIMER
0000
0003
Counter borrow
301