Remarks: 1. The above flowchart illustrates an example of the operation in the interval timer mode.
Downloaded from
Elcodis.com
electronic components distributor
Chapter 7 16-Bit Timer/Event Counter P
Figure 7-13: Flowchart of Basic Operation for Anytime Write
Initial settings
Timer operation enable (TPnCE = 1)
Transfer of TPnCCR0, TPnCCR1
values to CCR0 buffer register
and CCR1 buffer register
Rewrite TPnCCR0
Transfer to CCR0 buffer register
Rewrite TPnCCR1
Transfer to CCR1 buffer register
•
Match between CCR0 buffer
register and 16-bit counter
•
16-bit counter clear & start
2. n = 0 to 3
User's Manual U16702EE3V2UD00
START
INTTPnCC0 output
271