參數(shù)資料
型號: MC80F0208Q
廠商: Electronic Theatre Controls, Inc.
元件分類: 8位微控制器
英文描述: 8-BIT SINGLE-CHIP MICROCONTROLLERS
中文描述: 8位單晶片微控制器
文件頁數(shù): 61/128頁
文件大?。?/td> 1408K
代理商: MC80F0208Q
Preliminary
MC80F0208/16/24
MAR. 2005 Ver 0.2
57
14.2 16-bit Timer / Counter Mode
The Timer register is being run with all 16 bits. A 16-bit timer/
counter register T0, T1 are incremented from 0000
H
until it
matches TDR0, TDR1 and then resets to 0000
H
. The match out-
put generates Timer 0 interrupt.
The clock source of the Timer 0 is selected either internal or ex-
ternal clock by bit T0CK[2:0]. In 16-bit mode, the bits
T1CK[1:0] and 16BIT of TM1 should be set to "1" respectively
as shown in Figure 14-10.
Likewise, A 16-bit timer/counter register T2, T3 are incremented
from 0000
H
until it matches TDR2, TDR3 and then resets to
0000
H
. The match output generates Timer 2 interrupt.
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
T3CK[1:0] and 16BIT of TM3 should be set to "1" respectively
as shown in Figure 14-11.
Even if the Timer 0 (including Timer 1) is used as a 16-bit timer,
the Timer 2 and Timer 3 can still be used as either two 8-bit timer
or one 16-bit timer by setting the TM2. Reversely, even if the
Timer 2 (including Timer 3) is used as a 16-bit timer, the Timer
0 and Timer 1 can still be used as 8-bit timer independently.
A 16-bit timer/counter 4 register T4H, T4L are increased from
0000
H
until it matches TDR4H, TDR4L and then resets to 0000
H
.
The match output generates Timer 4 interrupt. Timer/Counter 4
is 16 bit mode as shown in Figure 14-12.
Figure 14-10 16-bit Timer/Counter for Timer 0, 1
clear
0: Stop
1: Clear and start
T0ST
T0CN
TDR1 + TDR0
(16-bit)
Comparator
TIMER 0 + TIMER 1
TIMER 0 (16-bit)
Higher byte Lower byte
COMPARE DATA
T1 + T0
(16-bit)
(Not Timer 1 interrupt)
EDGE
DETECTOR
BTCL
T0CK1
7
-
6
-
5
4
3
2
1
0
T0CN
INITIAL VALUE: --00 0000
B
ADDRESS: 0D0
H
TM0
T0ST
T0CK0
CAP0 T0CK2
-
-
X
X
X
X
X means don’t care
INITIAL VALUE: -0-0 0000
B
ADDRESS: 0D2
H
TM1
X means don’t care
0
X
BTCL
T1CK1
7
-
6
5
4
3
2
1
0
16BIT
T1CN T1ST
T1CK0
-
CAP1
-
1
X
X
1
1
-
0
EC0 PIN
÷
2
÷
4
÷
8
÷
32
X
IN
PIN
MUX
P
T0CK[2:0]
111
000
001
010
011
÷
512
÷
2048
100
101
110
T0IF
TIMER 0
INTERRUPT
÷
128
相關(guān)PDF資料
PDF描述
MC80F0216 8-BIT SINGLE-CHIP MICROCONTROLLERS
MC80F0216K 8-BIT SINGLE-CHIP MICROCONTROLLERS
MC80F0216Q 8-BIT SINGLE-CHIP MICROCONTROLLERS
MC80F0224 8-BIT SINGLE-CHIP MICROCONTROLLERS
MC80F0224K 8-BIT SINGLE-CHIP MICROCONTROLLERS
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC80F0216 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
MC80F0216K 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
MC80F0216Q 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
MC80F0224 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
MC80F0224K 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS