參數(shù)資料
型號(hào): GMS81508BQ
廠商: Hynix Semiconductor Inc.
元件分類: 8位微控制器
英文描述: 8-BIT SINGLE-CHIP MICROCONTROLLERS
中文描述: 8位單晶片微控制器
文件頁數(shù): 42/110頁
文件大小: 1980K
代理商: GMS81508BQ
GMS81508B/16B/24B, GMS82512/16/24
MAY. 2001 Ver 2.0
39
11. TIMER/EVENT COUNTER
The GMS815xxB and GMS825xx have four Timer/
Counter registers. Each module can generate an interrupt
to indicate that an event has occurred (i.e. timer match).
Timer 0 and Timer 1 are can be used either two 8-bit Tim-
er/Counter or one 16-bit Timer/Counter with combine
them. Also Timer 2 and Timer 3 are same.
In the “timer” function, the register is increased every in-
ternal clock input. Thus, one can think of it as counting in-
ternal clock input. Since a least clock consists of 4 and
most clock consists of 64 oscillator periods, the count rate
is 1/4 to 1/64 of the oscillator frequency.
In the “counter” function, the register is incremented in re-
sponse to a 1-to-0 (in case of falling edge) transition at its
corresponding external input pin, EC0 or EC2.
(EC2 are NOT served on GMS825xx.)
In addition the “capture” function, the register is incre-
mented in response external or internal clock sources same
with timer or counter function. When external clock edge
input, the count register is captured into Timer data register
correspondingly.
It has four operating modes: “8-bit timer/counter”, “16-bit
timer/counter”, “8-bit capture”, “16-bit capture” which are
selected by bit in Timer mode register TM0 and TM2 as
shown in Table 11-1.
In operation of Timer 2, Timer 3, their operations are same
with Timer 0, Timer 1, respectively as shown in Table 11-
2.
EC0, EC2, T1O(Timer 3 rectangular pulse output) and
T3O are determined by PMR4.
TM0
TIMER 0
TIMER 1
CAP
0
T1ST
T1SL
[1:0]
T0ST
T0CN
T0SL[1:0]
0
X
01 or
10 or
11
X
X
01 or 10 or 11
8-bit Timer
8-bit Timer
0
X
X
X
00
8-bit Event counter
8-bit Timer
1
X
X
X
01 or 10 or 11
8-bit Capture (internal clock)
8-bit Timer
1
X
X
X
00
8-bit Capture (external clock)
8-bit Timer
0
X
00
X
X
01 or 10 or 11
16-bit Timer
0
X
X
X
00
16-bit Event counter
1
X
X
X
01 or 10 or 11
16-bit Capture (internal clock)
1
X
X
X
00
16-bit Capture (external clock)
Table 11-1 TM0 Timer Mode Register
TM2
TIMER 2
TIMER 3
CAP
2
T3ST
T3SL
[1:0]
T2ST
T2CN
T2SL[1:0]
0
X
01 or
10 or
11
X
X
01 or 10 or 11
8-bit Timer
8-bit Timer
0
X
X
X
00
8-bit Event counter
8-bit Timer
1
X
X
X
01 or 10 or 11
8-bit Capture (internal clock)
8-bit Timer
1
X
X
X
00
8-bit Capture (external clock)
8-bit Timer
0
X
00
X
X
01 or 10 or 11
16-bit Timer
0
X
X
X
00
16-bit Event counter
1
X
X
X
01 or 10 or 11
16-bit Capture (internal clock)
1
X
X
X
00
16-bit Capture (external clock)
Table 11-2 TM2 Timer Mode Register
相關(guān)PDF資料
PDF描述
GMS81516B 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81516BK 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81516BQ 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81516BTK 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81516BTLQ 8-BIT SINGLE-CHIP MICROCONTROLLERS
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
GMS81516A 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:USERS MANUAL
GMS81516B 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81516BK 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:HYUNDAI MICRO ELECTRONICS 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81516BLQ 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81516BQ 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:HYUNDAI MICRO ELECTRONICS 8-BIT SINGLE-CHIP MICROCONTROLLERS