English
Language : 

MC80F0204 Datasheet, PDF (62/126 Pages) List of Unclassifed Manufacturers – 8-BIT SINGLE-CHIP MICROCONTROLLERS
MC80F0104/0204
Preliminary
13.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" re-
spectively as shown in Figure 13-15 .
The clock source of the Timer 2 is selected either internal
or external clock by bit T2CK[2:0]. In 16-bit mode, the bits
T3CK1,T3CK0, CAP3 and 16BIT of TM3 should be set to
"1" respectively as shown in Figure 13-16 .
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
POL 16BIT PWM1E CAP1 TB1TCCKL1 T1CK0 T1CN T1ST
X1
0
1
1
1
X
X
ADDRESS: 0D2H
INITIAL VALUE: 00H
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 13-15 16-bit Capture Mode of Timer 0, 1
58
Mar. 2005 Ver 0.2