12. Timer 0/1/2/3/4/5
A96G140/A96G148/A96A148 User’s manual
108
12.2.4
16-bit timer 1 block diagram
In this section, a 16-bit timer 1 is described in a block diagram.
T1MS[1:0]
T1POL
Reload
A Match
T1CC
T1EN
P
r
e
s
c
a
l
e
r
fx
M
U
X
fx/2
fx/4
fx/64
fx/512
fx/2048
fx/8
fx/1
Comparator
16-bit Counter
T1CNTH/T1CNTL
16-bit B Data Register
T1BDRH/T1BDRL
Clear
B Match
Buffer Register B
Comparator
16-bit A Data Register
T1ADRH/T1ADRL
T1IFR
INT_ACK
Clear
To interrupt
block
A Match
Buffer Register A
Reload
Pulse
Generator
T1O/
PWM1O
R
EINT11
T1CNTR
T1EN
3
T1CK[2:0]
Clear
EIPOL1[5:4]
FLAG11
(EIFLAG1.2)
INT_ACK
Clear
To interrupt
block
2
2
T1MS[1:0]
2
Edge
Detector
T1ECE
EC1
To Timer 2
block
A Match
T1CC
T1EN
A Match
T1CC
T1EN
Figure 45. 16-bit Timer 1 Block Diagram
12.2.5
Register map
Table 17. TIMER 1 Register Map
Name
Address
Direction
Default
Description
T1ADRH
BDH
R/W
FFH
Timer 1 A Data High Register
T1ADRL
BCH
R/W
FFH
Timer 1 A Data Low Register
T1BDRH
BFH
R/W
FFH
Timer 1 B Data High Register
T1BDRL
BEH
R/W
FFH
Timer 1 B Data Low Register
T1CRH
BBH
R/W
00H
Timer 1 Control High Register
T1CRL
BAH
R/W
00H
Timer 1 Control Low Register
12.2.6
Register description