181
ABOV Semiconductor Co., Ltd.
11.7.5 16-Bit Timer 7 Capture Mode
The 16-bit Capture mode is selected by control register as shown in Figure 11.26.
The 16-bit capture mode is the same operation as 8-bit capture mode, except that the timer register uses 16 bits. The
16-bit timer 7 capture mode is set by T7MS, T8MS as ‘1’. The clock source is selected from T7CK[2:0] and 16BIT bit
must be set to ‘1’. Timer 7 is LSB 8-bit, the timer 8 is MSB 8-bit.
P
r
e
s
c
a
l
e
r
fx
M
U
X
fx/2
T8CNT/T7CNT (16Bit)
EC7
fx/4
fx/8
fx/32
fx/128
fx/512
fx/2048
3
T7CK[2:0]
T7CN
16-bit Timer 7 Counter
T8DR/T7DR (16Bit)
Comparator
T7IFR
T7O
16-bit Timer 7 Data Register
S/W
Clear
Clear
Match
T8CAPR/T7CAPR (16Bit)
Clear
EINT17
EIPOL2H[7:6]
FLAG17
(EIFLAG2.7)
S/W
Clear
To interrupt
block
2
T7MS
T7ST
16-bit Timer 7 Capture Register
MSB LSB
MSB LSB
MSB LSB
T7EN
T7CR
1
ADDRESS:4090H (XSFR)
INITIAL VALUE : 0000_0000B
T7IE T7MS T7CK2 T7CK1 T7CK0 T7CN T7ST
X 1 X X X X X
16BIT
T8CR
1
ADDRESS:4092H (XSFR)
INITIAL VALUE : 0000_0000B
T8MS T8CN T8ST T8CK3 T8CK2 T8CK1 T8CK0
1 X X
1
1 1 1
To interrupt
block
T7IE
NOTE)
1. The T8CR.7 bit (16BIT) should be set to ‘1’ and the T8CK[3:0] should be set to “1111b”.
Figure 11.26 16-Bit Capture Mode for Timer 7