參數(shù)資料
型號(hào): GMS81524BK
廠商: Hynix Semiconductor Inc.
元件分類: 8位微控制器
英文描述: 8-BIT SINGLE-CHIP MICROCONTROLLERS
中文描述: 8位單晶片微控制器
文件頁(yè)數(shù): 47/110頁(yè)
文件大?。?/td> 1980K
代理商: GMS81524BK
GMS81508B/16B/24B, GMS82512/16/24
44
MAY. 2001 Ver 2.0
8-bit Event Counter Mode
In this mode, counting up is started by an external trigger.
This trigger means falling edge of the EC0 or EC2 pin in-
put. Source clock is used as an internal clock selected with
timer mode register TM0 or TM2. The contents of timer
data register TDR
n
(n = 0,1,2,3) are compared with the
contents of the up-counter T
n
. If a match is found, an timer
interrupt request flag T
n
IF is generated, and the counter is
cleared to “0”. The counter is restart and count up contin-
uously by every falling edge of the EC
n
pin input.
The maximum frequency applied to the EC
n
pin is f
XIN
/2
[Hz].
In order to use event counter function, the bit 4, 5 of the
Port Mode Register PMR4(address 0D0
H
) is required to be
set to “1”.
EC2 are NOT served on GMS825xx.
After reset, the value of timer data register TDR
n
is unde-
fined, it should be initialized to between 1
H
~FF
H
not to
"0"The interval period of Timer is calculated as below
equation.
Figure 11-6 Event Counter Mode Timing Chart
Figure 11-7 Count Operation of Timer / Event counter
Period (sec)
XIN
----------
2
Divide Ratio
TDRn
×
×
×
=
0
1
2
1
0
n
2
~
~
~
n-1
n
~
~
~
ECnpin input
Up-counter
TDR1
T1IF interrupt
Start count
Timer 1 (T1IF)
Interrupt
TDR1
TIME
Occur interrupt
Occur interrupt
stop
clear & start
disable
enable
Start & Stop
T1ST
T1CN
Control count
upcoun
~
~
~
~
T1ST = 0
T1ST = 1
T1CN = 0
T1CN = 1
相關(guān)PDF資料
PDF描述
GMS81524BQ 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81524BTK 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81524BTLQ 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81524BTQ 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS82512 8-BIT SINGLE-CHIP MICROCONTROLLERS
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
GMS81524BLQ 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81524BQ 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:HYUNDAI MICRO ELECTRONICS 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81524BT 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:[General Purpose(1) : ADC/ LED/ SCI/ PWM]
GMS81524BTK 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81524BTLQ 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:HYUNDAI MICRO ELECTRONICS 8-BIT SINGLE-CHIP MICROCONTROLLERS