參數(shù)資料
型號: MC68HC05K3CDWR2
廠商: MOTOROLA INC
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 2 MHz, MICROCONTROLLER, PDSO16
封裝: SOIC-16
文件頁數(shù): 69/132頁
文件大?。?/td> 1188K
代理商: MC68HC05K3CDWR2
Interrupts
Central Processor Unit (CPU) Interrupt Processing
MC68HC05K3 — Revision 4.0
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描述
MC68HC05K3DWR2 8-BIT, MROM, 2 MHz, MICROCONTROLLER, PDSO16
MC68HC05L25PB 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PQFP52
MC68HC05L2CB 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDIP42
MC68HC705L2K 8-BIT, UVPROM, 2.1 MHz, MICROCONTROLLER, CDIP42
MC68HC05L6FN 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PQCC68
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC68HC05K3CP 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05K3CSD 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05K3DW 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05K3P 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05L10 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcomputer Unit