參數(shù)資料
型號: GMS81516BQ
廠商: Hynix Semiconductor Inc.
元件分類: 8位微控制器
英文描述: 8-BIT SINGLE-CHIP MICROCONTROLLERS
中文描述: 8位單晶片微控制器
文件頁數(shù): 67/110頁
文件大?。?/td> 1980K
代理商: GMS81516BQ
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.
相關(guān)PDF資料
PDF描述
GMS81516BTK 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81516BTLQ 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81516BTQ 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81524 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81524BK 8-BIT SINGLE-CHIP MICROCONTROLLERS
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
GMS81516BT 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:[General Purpose(1) : ADC/ LED/ SCI/ PWM]
GMS81516BTK 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81516BTLQ 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81516BTQ 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:HYUNDAI MICRO ELECTRONICS 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81524 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS