參數(shù)資料
型號: GMS82516
廠商: Hynix Semiconductor Inc.
元件分類: 8位微控制器
英文描述: 8-BIT SINGLE-CHIP MICROCONTROLLERS
中文描述: 8位單晶片微控制器
文件頁數(shù): 67/110頁
文件大小: 1980K
代理商: GMS82516
GMS81508B/16B/24B, GMS82512/16/24
64
MAY. 2001 Ver 2.0
16.3 Multi Interrupt
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.
Figure 16-6 Execution of Multi Interrupt
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.
TIMER1: PUSH
A
X
Y
IENH,#80H
IENL,#0
PUSH
PUSH
LDM
LDM
EI
:
:
:
;
Enable INT0 only
;
Disable other
;
Enable Interrupt
:
:
:
LDM
LDM
POP
POP
POP
RETI
IENH,#0FFH
IENL,#0F0H
Y
X
A
;
Enable all interrupts
16.4 External Interrupt
The external interrupt on INT0, INT1, INT2 and INT3 pins
are edge triggered depending on the edge selection register
IEDS (address 0F8
H
) as shown in Figure 16-7.
The edge detection of external interrupt has three transition
enable INT0
disable other
TIMER 1
service
INT0
service
Main Program
service
Occur
TIMER1 interrupt
Occur
INT0
EI
enable INT0
enable other
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.
相關PDF資料
PDF描述
GMS82516K 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS82516Q 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81508BK 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81508B 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81508BQ 8-BIT SINGLE-CHIP MICROCONTROLLERS
相關代理商/技術參數(shù)
參數(shù)描述
GMS82516K 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS82516Q 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS82524 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS82524K 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS82524Q 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS