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

GMS87C2020K 参数 Datasheet PDF下载

GMS87C2020K图片预览
型号: GMS87C2020K
PDF下载: 下载PDF文件 查看货源
内容描述: 现代微电子8位单芯片微控制器 [HYUNDAI MICRO ELECTRONICS 8-BIT SINGLE-CHIP MICROCONTROLLERS]
分类和应用: 微控制器和处理器光电二极管电子可编程只读存储器
文件页数/大小: 107 页 / 1524 K
品牌: HYNIX [ HYNIX SEMICONDUCTOR ]
 浏览型号GMS87C2020K的Datasheet PDF文件第72页浏览型号GMS87C2020K的Datasheet PDF文件第73页浏览型号GMS87C2020K的Datasheet PDF文件第74页浏览型号GMS87C2020K的Datasheet PDF文件第75页浏览型号GMS87C2020K的Datasheet PDF文件第77页浏览型号GMS87C2020K的Datasheet PDF文件第78页浏览型号GMS87C2020K的Datasheet PDF文件第79页浏览型号GMS87C2020K的Datasheet PDF文件第80页  
GMS81C2012/GMS81C2020  
16.4 External Interrupt  
HYUNDAI MicroElectronics  
The external interrupt on INT0 and INT1 pins are edge  
triggered depending on the edge selection register IEDS  
(address 0F8H) as shown in Figure 16-7.  
Example: To use as an INT0 and 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,#0000_0011B  
;**** Set Falling-edge Detection  
LDM  
:
:
:
IEDS,#0000_0101B  
INT1 pin  
INT0 pin  
INT1IF  
INT1 INTERRUPT  
INT0IF  
Response Time  
INT0 INTERRUPT  
2
2
The INT0 and INT1 edge are latched into INT0IF and  
INT1IF 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.  
Edge selection  
Register  
IEDS  
[0E6H]  
Figure 16-7 External Interrupt Block Diagram  
INT0 and INT1 are multiplexed with general I/O ports  
(R00 and R01). To use as an external interrupt pin, the bit  
of R4 port mode register R0FUNC should be set to “1” cor-  
respondingly.  
Figure 16-8shows interrupt response timings.  
max. 12 fXIN  
8 fXIN  
Interrupt  
goes  
active  
Interrupt  
latched  
Interrupt  
processing  
Interrupt  
routine  
Figure 16-8 Interrupt Response Timing Diagram  
76  
MAR. 2000 Ver 1.00  
 
 
 复制成功!