TIMER A
7.4 Event counter mode
<Normal processing>
Countup is performed at the rising edges
input to the TA2IN pin when the TA2IN and
TA2OUT have the relationship that the TA2IN
pin’s input signal goes from “L” to “H” while
the TA2OUT pin’s input signal is at “H” level.
Countdown is performed at the falling edges
input to the TA2IN pin when the TA2IN and
TA2OUT have the relationship that the TA2IN
pin’s input signal goes from “H” to “L” while
the TA2OUT pin’s input signal is “H.” (See
Figure 7.4.7.)
“H”
“L”
TA2OUT
TA2IN
“H”
“L”
Countup Countup
Countup Countdown Countdown Countdown
+1
+1
+1
–1
–1
–1
Fig. 7.4.7 Normal processing
“H”
OUT “L”
<Quadruple processing>
TAm
Countup is performed at all rising and fall-
ing edges input to the TAmOUT and TAmIN
pins when the TAmIN and TAmOUT have the
relationship that the TAmIN pin’s input sig-
nal level goes from “L” to “H” while the
TAmOUT pin’s input signal is at “H” level.
Countdown is performed at all rising and
falling edges input to the TAmOUT and TAmIN
pins when the TAmIN and TAmOUT have the
relationship that the TAmIN pin’s input sig-
nal level goes from “H” to “L” while the
TAmOUT pin’s input signal is at “H” level.
(See Figure 7.4.8.)
Counted up at all edges.
+1 +1 +1 +1 +1
Counted down at all edges.
–1 –1 –1
–1 –1
“H”
TAmIN
“L”
Counted up at all edges.
+1 +1 +1 +1 +1
Counted down at all edges.
–1 –1 –1
–1 –1
Fig. 7.4.8 Quadruple processing
Table 7.4.3 lists the input signals on the
TAmOUT and TAmIN pins when the quadruple
processing is selected.
Table 7.4.3 TAmOUT and TAmIN pin’s input signals when quadruple processing is selected
Input signal to TAmOUT pin
Input signal to TAmIN pin
Rising edge
Falling edge
“L” level
“H” level
“L” level
Rising edge
Falling edge
“H” level
“L” level
Rising edge
Falling edge
Countup
“H” level
Falling edge
Rising edge
“H” level
Countdown
“L” level
7906 Group User’s Manual Rev.2.0
7-27