參數(shù)資料
型號: GMS81516BQ
廠商: Hynix Semiconductor Inc.
元件分類: 8位微控制器
英文描述: 8-BIT SINGLE-CHIP MICROCONTROLLERS
中文描述: 8位單晶片微控制器
文件頁數(shù): 68/110頁
文件大小: 1980K
代理商: GMS81516BQ
GMS81508B/16B/24B, GMS82512/16/24
MAY. 2001 Ver 2.0
65
activated mode: rising edge, falling edge, and both edge.
Figure 16-7 External Interrupt Block Diagram
INT0 ~ INT3 are multiplexed with general I/O ports
(R40~R43). To use as an external interrupt pin, the bit of
R4 port mode register PMR4 should be set to “1” corre-
spondingly.
Example:
To use as an INT0 and INT2
:
:
;
**** Set port as an input port R40,R42
LDM
;
;
**** Set port as an external interrupt port
LDM
PMR4,#05H
;
;
**** Set Falling-edge Detection
LDM
IEDS,#0001_0001B
:
:
:
R4DD,#1111_1010B
Response Time
The INT0 ~ INT3 edge are latched into INT1IF ~ INT3IF
at every machine cycle. The values are not actually polled
by the circuitry until the next machine cycle. If a request is
active and conditions are right for it to be acknowledged, 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.
Figure 16-8shows interrupt response timings.
Figure 16-8 Interrupt Response Timing Diagram
INT0IF
INT0 pin
INT0 INTERRUPT
INT1IF
INT1 pin
INT1 INTERRUPT
INT2IF
INT2 pin
INT2 INTERRUPT
IEDS
[0F8H]
INT3IF
INT3 pin
INT3 INTERRUPT
Edge selection
Register
2
2
2
2
Interrupt
goes
active
Interrupt
latched
Interrupt
processing
Interrupt
routine
8 f
XIN
max. 12 f
XIN
相關(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