English
Language : 

MC68HC05L16 Datasheet, PDF (39/146 Pages) Freescale Semiconductor, Inc – Microcontrollers
Chapter 4
Resets and Interrupts
4.1 Introduction
In user operating modes, the reset/interrupt vectors are located at the top of the address space
($FFF0–$FFFF). In self-check mode, the reset/interrupt vectors are located at $FFE0–$FFEF in the
internal self-check ROM. Descriptions in this section assume a user operating mode is in use. Table 4-1
shows the address assignments for the vectors.
Vector
Address
FFF0–FFF1
FFF2–FFF3
FFF4–FFF5
FFF6–FFF7
FFF8–FFF9
FFFA–FFFB
FFFC–FFFD
FFFE–FFFF
Table 4-1. Interrupt Vector Assignments
Interrupt Source
Timebase
SSPI
Timer 2
Timer 1
KWI
IRQ
TI2I
OC2I
ICI
OC1I
TOI
IRQ1
IRQ2
Masked
by
I Bit
I Bit
I Bit
I Bit
I Bit
I Bit
I Bit
I Bit
I Bit
I Bit
Local
Mask
TBIE
SPIE
TI2IE
OC2IE
ICIE
OC1IE
TOIE
KWIE
IRQ1E
IRQ2E
SWI
None
None
Reset
COP
RESET Pin
Power-On
None
None
None
COPE
None
None
Priority
(1 = Highest)
7
6
5
5
4
4
4
3
2
2
Same Level as
an Instruction
1
1
1
Upon reset, the I bit in the condition code register is set and interrupts are disabled (masked). When an
interrupt occurs, the I bit is set automatically by hardware after stacking the condition code register (CCR).
All interrupts in the MC68HC05L16 follow a fixed hardware priority circuit to resolve simultaneous
requests.
Each interrupt has a software programmable interrupt mask bit which may be used to selectively inhibit
automatic hardware response. In addition, the I bit in the CCR acts as a class inhibit mask to inhibit all
sources in the I-bit class. RESET and software interrupt (SWI) are not masked by the I bit in the CCR.
SWI is an instruction rather than a prioritized asynchronous interrupt source. In a sense, it is lower in
priority than any source because once any interrupt sequence has begun, SWI cannot override it. In
another sense, it is higher in priority than any hardware sources, except reset, because once the SWI
opcode is fetched, no other sources can be honored until after the first instruction in the SWI service
routine has been executed. SWI causes the I mask bit in the CCR to be set.
MC68HC05L16 • MC68HC705L16 Data Sheet, Rev. 4.1
Freescale Semiconductor
39