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

GMS82524TK 参数 Datasheet PDF下载

GMS82524TK图片预览
型号: GMS82524TK
PDF下载: 下载PDF文件 查看货源
内容描述: 8位单芯片微控制器 [8-BIT SINGLE-CHIP MICROCONTROLLERS]
分类和应用: 微控制器
文件页数/大小: 93 页 / 1003 K
品牌: HYNIX [ HYNIX SEMICONDUCTOR ]
 浏览型号GMS82524TK的Datasheet PDF文件第50页浏览型号GMS82524TK的Datasheet PDF文件第51页浏览型号GMS82524TK的Datasheet PDF文件第52页浏览型号GMS82524TK的Datasheet PDF文件第53页浏览型号GMS82524TK的Datasheet PDF文件第55页浏览型号GMS82524TK的Datasheet PDF文件第56页浏览型号GMS82524TK的Datasheet PDF文件第57页浏览型号GMS82524TK的Datasheet PDF文件第58页  
HYUNDAI MicroElectronics  
14.3 Multi Interrupt  
GMS82512/16/24  
If two requests of different priority levels are received si-  
multaneously, the request of higher priority level is ser-  
viced. If requests of the interrupt are received at the same  
time simultaneously, an internal polling sequence deter-  
mines by hardware which request is serviced.  
However, multiple processing through software for special  
features is possible. Generally when an interrupt is accept-  
ed, the I-flag is cleared to disable any further interrupt. But  
as user sets I-flag in interrupt routine, some further inter-  
rupt can be serviced even if certain interrupt is in progress.  
Example:  
During Timer1 interrupt is in progress, INT0 in-  
terrupt serviced without any suspend.  
Main Program  
service  
TIMER 1  
service  
TIMER1: PUSH  
A
PUSH  
PUSH  
LDM  
LDM  
EI  
X
INT0  
service  
Y
IENH,#80H  
IENL,#0  
;Enable INT0 only  
;Disable other  
;Enable Interrupt  
enable INT0  
disable other  
EI  
:
:
:
Occur  
Occur  
INT0  
TIMER1 interrupt  
:
:
:
enable INT0  
enable other  
LDM  
LDM  
POP  
POP  
POP  
RETI  
IENH,#0FFH ;Enable all interrupts  
IENL,#0F0H  
Y
X
A
In this example, the INT0 interrupt can be serviced without any  
pending, even TIMER1 is in progress.  
Because of re-setting the interrupt enable registers IENH,IENL  
and master enable “EI” in the TIMER1 routine.  
Figure 14-6 Execution of Multi Interrupt  
14.4 External Interrupt  
The external interrupt on INT0, INT1, INT2 and INT3 pins  
are edge triggered depending on the edge selection register  
IEDS (address 0F8H) as shown in Figure 14-7.  
The edge detection of external interrupt has three transition  
FEB. 2000 Ver 1.00  
51  
 复制成功!