参数资料
型号: MC68HC05K3CP
厂商: FREESCALE SEMICONDUCTOR INC
元件分类: 微控制器/微处理器
英文描述: 8-BIT, MROM, 2 MHz, MICROCONTROLLER, PDIP16
封装: PLASTIC, DIP-16
文件页数: 69/132页
文件大小: 2612K
代理商: MC68HC05K3CP
Interrupts
Central Processor Unit (CPU) Interrupt Processing
MC68HC05K3 — Rev. 5
Technical Data
Interrupts
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
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
..
.
ARCHIVED
BY
FREESCALE
SEMICONDUCT
OR,
INC.
2006
相关PDF资料
PDF描述
MC68HC11ED0CFN2 8-BIT, 2 MHz, MICROCONTROLLER, PQCC44
MC68HC908GR4AMP 8-BIT, FLASH, 8.2 MHz, MICROCONTROLLER, PQFP32
MC68HC908GR4AVP 8-BIT, FLASH, 8.2 MHz, MICROCONTROLLER, PQFP32
MC68HC908GZ8CFJ 8-BIT, FLASH, 8 MHz, MICROCONTROLLER, PQFP32
MC908GR4CFAR2 8-BIT, FLASH, 8.2 MHz, MICROCONTROLLER, PQFP32
相关代理商/技术参数
参数描述
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
MC68HC05L16 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:Microcontrollers