Section 12 Timer W
Figure 12.5 shows an example of toggle output when TCNT operates as a free-running counter,
and toggle output is selected for both compare match A and B.
TCNT value
H'FFFF
GRA
GRB
H'0000
FTIOA
FTIOB
Figure 12.5 Toggle Output Example (TOA = 0, TOB = 1)
Figure 12.6 shows another example of toggle output when TCNT operates as a periodic counter,
cleared by compare match A. Toggle output is selected for both compare match A and B.
TCNT value
H'FFFF
GRA
GRB
H'0000
FTIOA
FTIOB
Figure 12.6 Toggle Output Example (TOA = 0, TOB = 1)
Rev. 3.00 Sep. 14, 2006 Page 174 of 408
REJ09B0105-0300
Counter cleared by compare match with GRA
Time
Toggle output
Toggle output
Time
Toggle
output
Toggle
output