A96G140/A96G148/A96A148 User’s manual
12. Timer 0/1/2/3/4/5
113
T2MS[1:0]
T2POL
A Match
T2CC
T2EN
P
r
e
s
c
a
l
e
r
fx
M
U
X
fx/2
fx/4
fx/32
fx/128
fx/512
fx/8
fx/1
16-bit Counter
T2CNTH/T2CNTL
Clear
T1 A Match
Comparator
16-bit A Data Register
T2ADRH/T2ADRL
T2IFR
INT_ACK
Clear
To interrupt
block
A Match
Buffer Register A
Reload
Pulse
Generator
T2O
R
T2EN
3
T2CK[2:0]
2
A Match
T2CC
T2EN
T2EN
T2CRH
1
ADDRESS:C3H
INITIAL VALUE : 0000_0000B
–
T2MS1
T2MS0
–
–
–
T2CC
–
0
0
–
–
–
X
T2CK2
T2CRL
X
ADDRESS:C2H
INITIAL VALUE : 0000_0000B
T2CK1
T2CK0
T2IFR
–
T2POL
–
T2CNTR
X
X
X
–
X
–
X
NOTE
: T1 A Match is a pulse for the timer 2 clock source if it is selected.
Figure 46. 16-bit Timer/Counter Mode of Timer 2
Figure 47. 16-bit Timer/Counter Mode Operation Example