BAT32G1x9 user manual | Chapter 9 Timer C
309 / 1149
Rev.1.02
9.4.5
Timer C counts the reset action
When the Timer C action is set to begin using the software, the output signal of Timer M and the output signal
of comparator 1 can reset the counter of Timer C.
1.
TRIG_MD_SW=0, the output signal of Timer M cannot reset the count value when the software triggers
the count starts.
1)
Software Trigger Counting Begins: TCCR1. START_MD=0
2)
Allow software reset counter: TCCR1. TRIG_MD_SW=0
3)
Timer C count starts: TCCR2. TSTART=1
Fig. 9-14: Exampleof T imer M triggering a reset of the Timer C count
TC counting source
TCCR1.START_MD
TCCR1.TRIG_MD_SW
Start Signal from Timer M
TCCR2.TSTART
TC counting
2.
TRIG_MD_SW=1, the output signal of Timer M resets the count value when the software triggers the
count starts.
1)
Software Trigger Counting Begins: TCCR1. START_MD=0
2)
Disable Software Reset Counter: TCCR1. TRIG_MD_SW=1
3)
Timer C count starts: TCCR2. TSTART=1
Fig. 9-15 Exampleof T imer M triggering a reset of the Timer C count
TC counting source
TCCR1.START_MD
TCCR1.TRIG_MD_SW
Start Signal from Timer M
TCCR2.TSTART
TC counting