A96G150 User's manual
12. Timer 0/1/2/3/4/5
131
12.3.4
16-bit timer 2 block diagram
In this section, a 16-bit timer 2 is described in a block diagram.
T2MS[1:0]
T2POL
Reload
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
Comparator
16-bit Cou nte r
T2CNTH/T2CNTL
16-bit B Data Re gister
T2BDRH/T2BDRL
Clear
B Match
Buffer Reg ister B
Comparator
16-bit A Data Re gister
T2ADRH/T2ADRL
T2IFR
INT_ACK
Clear
To i nte rrupt
block
A Match
Buffer Reg ister A
Reload
Pulse
Gen erator
T2O/
PWM2O
R
EINT3
T2CNTR
T2EN
3
T2CK[2:0]
Clear
EIPOL1[7:6]
FLAG3
(EIFLAG1.3)
INT_ACK
Clear
To i nte rrupt
block
2
2
T2MS[1:0]
2
T1 A Match
A Match
T2CC
T2EN
A Match
T2CC
T2EN
NOTE
: T1 A Match is a pulse for the timer 2 clock source if it is selected.
Figure 49. 16-bit Timer 2 Block Diagram
12.3.5
Register map
Table 19. TIMER 2 Register Map
Name
Address
Direction
Default
Description
T2ADRH
C5H
R/W
FFH
Timer 2 A Data High Register
T2ADRL
C4H
R/W
FFH
Timer 2 A Data Low Register
T2BDRH
C7H
R/W
FFH
Timer 2 B Data High Register
T2BDRL
C6H
R/W
FFH
Timer 2 B Data Low Register
T2CRH
C3H
R/W
00H
Timer 2 Control High Register
T2CRL
C2H
R/W
00H
Timer 2 Control Low Register
Содержание A96G150
Страница 126: ...12 Timer 0 1 2 3 4 5 A96G150 User s manual 126 Figure 43 16 bit Timer Counter Mode Operation Example...
Страница 136: ...12 Timer 0 1 2 3 4 5 A96G150 User s manual 136 Figure 51 16 bit Timer Counter Mode Operation Example...
Страница 147: ...A96G150 User s manual 12 Timer 0 1 2 3 4 5 147 Figure 59 16 bit Timer Counter Mode Operation Example...
Страница 157: ...A96G150 User s manual 12 Timer 0 1 2 3 4 5 157 Figure 67 16 bit Timer Counter Mode Operation Example...
Страница 171: ...A96G150 User s manual 14 12 bit ADC 171 Figure 79 ADC Operation Flow Sequence...
Страница 333: ...A96G150 User s manual Revision history 333 Revision history Revision Date Notes 1 00 2022 06 22 First creation...