16-Bit Capture Mode - Abov MC80F0304 User Manual

8-bit single-chip microcontrollers
Table of Contents

Advertisement

MC80F0304/08/16

13.5 16-bit Capture Mode

Timer register is being run will 16 bits. The clock source of the
16-bit capture mode is the same as 8-bit capture, except that the
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
Timer 0 is selected either internal or external clock by bit
T3CK1,T3CK0, CAP3 and 16BIT of TM3 should be set to "1" re-
T0CK[2:0]. In 16-bit mode, the bits T1CK1, T1CK0, CAP1 and
spectively as shown in Figure 13-16 .
ure 13-15 .
16BIT of TM1 should be set to "1" respectively as shown in Fig-
7
6
5
4
3
2
1
0
ADDRESS: 0D0
TM0
-
-
CAP0 T0CK2
BTCL
T0CK1
T0CK0
T0CN
T0ST
INITIAL VALUE: --00 0000
H
B
-
-
1
X
X
X
X
X
X means don't care
7
6
5
4
3
2
1
0
TM1
POL
16BIT
PWM1E
CAP1
BTCL
T1CK1
T1CK0
T1CN T1ST
ADDRESS: 0D2
INITIAL VALUE: 00
H
H
X
1
0
1
1
1
X
X
X means don't care
Edge
T0CK[2:0]
Detector
EC0 PIN
111
T0ST
÷ 2
000
0: Stop
IN
X
PIN
÷ 4
001
1: Clear and start
÷ 32
÷ 8
010
T1 + T0
(16-bit)
÷ 128
100
011
clear
÷ 512
101
T0CN
Capture
÷ 2048
110
CDR1 + CDR0
MUX
(16-bit)
IEDS[1:0]
Higher byte Lower byte
CAPTURE DATA
INT0 PIN
"01"
"10"
INT0
INT0IF
INTERRUPT
"11"
Figure 13-15 16-bit Capture Mode of Timer 0, 1
72
November 4, 2011 Ver 2.12

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents