參數(shù)資料
型號(hào): MC68HC05K3CSD
廠商: MOTOROLA INC
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 2 MHz, MICROCONTROLLER, PDSO20
封裝: SSOP-20
文件頁數(shù): 36/69頁
文件大?。?/td> 1383K
代理商: MC68HC05K3CSD
Interrupts
Central Processor Unit (CPU) Interrupt Processing
MC68HC05K3 — Rev. 5
Technical Data
MOTOROLA
Interrupts
41
A return-from-interrupt (RTI) instruction is used to signify when the
interrupt software service routine is complete. The RTI instruction
causes the register contents to be recovered from the stack and normal
processing to resume at the next instruction that was to be executed
when the interrupt took place. Figure 4-1 shows the sequence of events
that occurs during interrupt processing. Figure 4-2 shows the stacking
and unstacking order into the RAM that is associated with an interrupt
service routine.
Figure 4-1. Interrupt Processing Flowchart
IS
I BIT
SET?
LOAD PC FROM:
SWI: $03FC, $03FD
IRQ: $03FA–$03FB
TIMER: $03F8–$03F9
SET I BIT IN CCR
STACK PCL, PCH, X, A, CC
CLEAR IRQ
REQUEST
LATCH
RESTORE REGISTERS
FROM STACK
CC, A, X, PCH, PCL
Y
N
IRQ
EXTERNAL
INTERRUPT?
Y
N
TIMER
INTERNAL
INTERRUPT?
Y
N
EXECUTE
INSTRUCTION
FETCH NEXT
INSTRUCTION
RTI
INSTRUCTION
?
Y
N
SWI
INSTRUCTION
?
Y
N
FROM
RESET
相關(guān)PDF資料
PDF描述
MC68HC05K3P 8-BIT, MROM, 2 MHz, MICROCONTROLLER, PDIP16
MC68HC05L25PB 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PQFP52
MC68HC05LJ5P 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDIP16
MC68HC05M4CFN 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PQCC52
MC68HC05M4MFN 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PQCC52
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC68HC05K3DW 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05K3P 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05L10 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcomputer Unit
MC68HC05L16 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC05L16CFU 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontrollers