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

GMS87C2120 参数 Datasheet PDF下载

GMS87C2120图片预览
型号: GMS87C2120
PDF下载: 下载PDF文件 查看货源
内容描述: CMOS单芯片8位微控制器与A / D转换器和VFD驱动器 [CMOS Single-Chip 8-Bit Microcontroller with A/D Converter & VFD Driver]
分类和应用: 驱动器转换器微控制器
文件页数/大小: 92 页 / 1757 K
品牌: HYNIX [ HYNIX SEMICONDUCTOR ]
 浏览型号GMS87C2120的Datasheet PDF文件第67页浏览型号GMS87C2120的Datasheet PDF文件第68页浏览型号GMS87C2120的Datasheet PDF文件第69页浏览型号GMS87C2120的Datasheet PDF文件第70页浏览型号GMS87C2120的Datasheet PDF文件第72页浏览型号GMS87C2120的Datasheet PDF文件第73页浏览型号GMS87C2120的Datasheet PDF文件第74页浏览型号GMS87C2120的Datasheet PDF文件第75页  
Hyundai Micro Electronics  
GMS81C2020/GMS81C2120  
19.4 External Interrupt  
The external interrupt on INT0 and INT1 pins are edge  
triggered depending on the edge selection register IEDS  
(address 0E6H) as shown in Figure 19-6 .  
Example: To use as an INT0, INT1  
The edge detection of external interrupt has three transition  
activated mode: rising edge, falling edge, and both edge.  
:
:
;**** Set port as an input port R00,R01  
LDM  
;
R0IO,#1111_1100B  
;**** Set port as an interrupt port  
LDM  
;
R0FUNC,#03H  
INT0 pin  
INT1 pin  
INT0IF  
INT1IF  
INT0 INTERRUPT  
INT1 INTERRUPT  
;**** Set Falling-edge Detection  
LDM  
:
:
:
IEDS,#0000_0101B  
Response Time  
The INT0 and INT1 edge are latched into INT0IF and  
INT3IF at every machine cycle. The values are not actually  
polled by the circuitry until the next machine cycle. If a re-  
quest is active and conditions are right for it to be acknowl-  
edged, a hardware subroutine call to the requested service  
routine will be the next instruction to be executed. The  
DIV itself takes twelve cycles. Thus, a minimum of twelve  
complete machine cycles elapse between activation of an  
external interrupt request and the beginning of execution  
of the first instruction of the service routine.  
IEDS  
[0E6 ]  
H
Figure 19-6 External Interrupt Block Diagram  
ADDRESS : 0E6  
RESET VALUE : ----0000  
H
Ext. Interrupt Edge Selection  
Register  
W
W
W
W
shows interrupt response timings.  
IEDS  
INT1 edge select  
INT0 edge select  
00: Int. disable  
01: falling  
10: rising  
00: Int. disable  
01: falling  
10: rising  
11: both  
11: both  
max. 12 f  
8 f  
OSC  
OSC  
Interrupt  
goes  
active  
Interrupt  
latched  
Interrupt  
processing  
Interrupt  
routine  
Figure 19-7 Interrupt Response Timing Diagram  
Nov. 1999 Ver 0.0  
preliminary  
71  
 
 复制成功!