欢迎访问ic37.com |
会员登录 免费注册
发布采购

GMS82524 参数 Datasheet PDF下载

GMS82524图片预览
型号: GMS82524
PDF下载: 下载PDF文件 查看货源
内容描述: 8位单芯片微控制器 [8-BIT SINGLE-CHIP MICROCONTROLLERS]
分类和应用: 微控制器
文件页数/大小: 93 页 / 1003 K
品牌: HYNIX [ HYNIX SEMICONDUCTOR ]
 浏览型号GMS82524的Datasheet PDF文件第37页浏览型号GMS82524的Datasheet PDF文件第38页浏览型号GMS82524的Datasheet PDF文件第39页浏览型号GMS82524的Datasheet PDF文件第40页浏览型号GMS82524的Datasheet PDF文件第42页浏览型号GMS82524的Datasheet PDF文件第43页浏览型号GMS82524的Datasheet PDF文件第44页浏览型号GMS82524的Datasheet PDF文件第45页  
GMS82512/16/24  
HYUNDAI MicroElectronics  
8-bit Event Counter Mode  
In order to use event counter function, the bit 4 of the Port  
Mode Register PMR4(address 0D0H) is required to be set  
to “1”.  
In this mode, counting up is started by an external trigger.  
This trigger means falling edge of the EC0 pin input.  
Source clock is used as an internal clock selected with tim-  
er mode register TM0. The contents of timer data register  
TDRn (n = 0,1) are compared with the contents of the up-  
counter Tn. If a match is found, an timer interrupt request  
flag TnIF is generated, and the counter is cleared to “0”.  
The counter is restart and count up continuously by every  
falling edge of the EC0 pin input.  
After reset, the value of timer data register TDRn is unde-  
fined, it should be initialized to between 1H~FFHꢃꢁnot to  
"0"The interval period of Timer is calculated as below  
equation.  
1
----------  
Period (sec) =  
× 2 × Divide Ratio × TDRn  
f
XIN  
The maximum frequency applied to the EC0 pin is fXIN/2  
[Hz].  
Start count  
EC0 pin input  
1
1
2
Up-counter  
0
2
n-1  
n
0
TDR1  
n
T1IF interrupt  
Figure 11-6 Event Counter Mode Timing Chart  
TDR1  
enable  
disable  
clear & start  
stop  
TIME  
Timer 1 (T1IF)  
Interrupt  
Occur interrupt  
Occur interrupt  
T1ST  
Start & Stop  
T1ST = 1  
T1ST = 0  
T1CN  
T1CN = 1  
Control count  
T1CN = 0  
Figure 11-7 Count Operation of Timer / Event counter  
38  
FEB. 2000 Ver 1.00  
 复制成功!