參數(shù)資料
型號: MC80C0224
廠商: Electronic Theatre Controls, Inc.
元件分類: 8位微控制器
英文描述: 8-BIT SINGLE-CHIP MICROCONTROLLERS
中文描述: 8位單晶片微控制器
文件頁數(shù): 51/128頁
文件大小: 1408K
代理商: MC80C0224
Preliminary
MC80F0208/16/24
MAR. 2005 Ver 0.2
47
14. TIMER/EVENT COUNTER
The MC80F0208/16/24 has five Timer/Counter registers. Each
module can generate an interrupt to indicate that an event has oc-
curred (i.e. timer match).
Timer 0 and Timer 1 are can be used either two 8-bit Timer/
Counter or one 16-bit Timer/Counter with combine them. Also
Timer 2 and Timer 3 are same. Timer 4 is 16-bit Timer/Counter.
In the “timer” function, the register is increased every internal
clock input. Thus, one can think of it as counting internal clock
input. Since a least clock consists of 2 and most clock consists of
2048 oscillator periods, the count rate is 1/2 to 1/2048 of the os-
cillator frequency.
In the “counter” function, the register is increased in response to
a 0-to-1 (rising edge) transition at its corresponding external input
pin, EC0 or EC1.
In addition the “capture” function, the register is increased in re-
sponse external or internal clock sources same with timer or
counter function. When external clock edge input, the count reg-
ister is captured into Timer data register correspondingly. When
external clock edge input, the count register is captured into cap-
ture data register CDRx.
Timer 0 and Timer 1 has four operating modes: "8-bit timer/
counter", "16-bit timer/counter", "8-bit capture" and "16-bit cap-
ture" which are selected by bit in Timer mode register TM0 and
TM1 as shown in Table 14-1, Figure 14-1.
Timer 2 and Timer 3
is shared with "PWM" function and
"Compare output" function. It has six operating modes: "8-
bit timer/counter", "16-bit timer/counter", "8-bit capture",
"16-bit capture", "8-bit compare output", and "10-bit
PWM" which are selected by bit in Timer mode register
TM2 and TM3 as shown in Table 14-2,
Figure 14-2.
Timer 4 has two operating modes: "16-bit timer/counter" and
"16-bit capture" which are selected by bit in Timer mode register
TM4 as shown inTable 14-3, and Figure 14-3.
16BIT
CAP0
CAP1
T0CK
[2:0]
T1CK
[1:0]
TIMER 0
TIMER 1
0
0
0
XXX
XX
8-bit Timer
8-bit Timer
0
0
1
111
XX
8-bit Event counter
8-bit Capture
0
1
0
XXX
XX
8-bit Capture (internal clock)
8-bit Timer
1
0
0
XXX
11
16-bit Timer
1
0
0
111
11
16-bit Event counter
1
1
1
XXX
11
16-bit Capture (internal clock)
Table 14-1 Operating Modes of Timer 0, 1
1. X means the value of “0” or “1” corresponds to user operation.
16BIT
CAP2
CAP3
PWM3E
T2CK
[2:0]
T3CK
[1:0]
PWM3O
TIMER 2
TIMER 3
0
0
0
0
XXX
XX
0
8-bit Timer
8-bit Timer
0
0
1
0
111
XX
0
8-bit Event counter
8-bit Capture
0
1
0
0
XXX
XX
1
8-bit Capture (internal clock)
8-bit Compare Output
0
X
0
1
XXX
XX
1
8-bit Timer/Counter
10-bit PWM
1
0
0
0
XXX
11
0
16-bit Timer
1
0
0
0
111
11
0
16-bit Event counter
1
1
1
0
XXX
11
0
16-bit Capture (internal clock)
Table 14-2 Operating Modes of Timer 2, 3
相關(guān)PDF資料
PDF描述
MC80C0224K 8-BIT SINGLE-CHIP MICROCONTROLLERS
MC80C0224Q 8-BIT SINGLE-CHIP MICROCONTROLLERS
MC80F0208K 8-BIT SINGLE-CHIP MICROCONTROLLERS
MC80F0208Q 8-BIT SINGLE-CHIP MICROCONTROLLERS
MC80F0216 8-BIT SINGLE-CHIP MICROCONTROLLERS
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC80C0224K 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
MC80C0224Q 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
MC80C0424 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
MC80C0424K 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
MC80C0424L 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS