English
Language : 

MC80F0224 Datasheet, PDF (67/128 Pages) List of Unclassifed Manufacturers – 8-BIT SINGLE-CHIP MICROCONTROLLERS
Preliminary
MC80F0208/16/24
14.5 16-bit Capture Mode
16-bit capture mode is the same as 8-bit capture, except that the
Timer register is being run will 16 bits. The clock source of the
Timer 0 is selected either internal or external clock by bit
T0CK[2:0]. In 16-bit mode, the bits T1CK1, T1CK0, CAP1 and
16BIT of TM1 should be set to "1" respectively as shown in Fig-
ure 14-17.
The clock source of the Timer 2 is selected either internal or ex-
ternal clock by bit T2CK[2:0]. In 16-bit mode, the bits
T3CK1,T3CK0, CAP3 and 16BIT of TM3 should be set to "1" re-
spectively as shown in Figure 14-18.
The clock source of the Timer 4 is selected either internal or ex-
ternal clock by bit T4CK[2:0] as shown in Figure 14-18.
EC0 PIN
XIN PIN
INT0 PIN
TM0
7
6
5
4
3
2
1
0
-
- CAP0 T0CK2 TB0TCCKL1 T0CK0 T0CN T0ST
-
-
1
X
X
XX
X
ADDRESS: 0D0H
INITIAL VALUE: --00 0000B
X means don’t care
TM1
7
6
5
4
3
2
1
0
- 16BIT - CAP1 TB1TCCKL1 T1CK0 T1CN T1ST
-
1
-
1
1
1
X
X
ADDRESS: 0D2H
INITIAL VALUE: -0-0 0000B
Edge
Detector
T0CK[2:0]
111
÷ 2 000
÷4
001
÷8
010
÷ 32 011
÷ 128
100
÷ 512 101
÷ 2048 110
MUX
T0CN
IEDS[1:0]
“01”
“10”
“11”
X means don’t care
T0ST
0: Stop
1: Clear and start
TDR1 + TDR0
(16-bit)
clear
Capture
CDR1 + CDR0
(16-bit)
Higher byte Lower byte
CAPTURE DATA
INT0IF
INT0
INTERRUPT
Figure 14-17 16-bit Capture Mode of Timer 0, 1
MAR. 2005 Ver 0.2
63