|
MC68HC705JP7 Datasheet, PDF (52/242 Pages) Motorola, Inc – HCMOS Microcontroller Unit | |||
|
◁ |
Interrupts
Freescale Semiconductor, Inc.
central processor unit (CPU) registers on the stack and loads the
program counter with a user-defined vector address.
4.3 Interrupt Vectors
Table 4-1 summarizes the reset and interrupt sources and vector
assignments.
NOTE:
If more than one interrupt request is pending, the CPU fetches the vector
of the higher priority interrupt first. A higher priority interrupt does not
actually interrupt a lower priority interrupt service routine unless the
lower priority interrupt service routine clears the I bit.
Table 4-1. Reset/Interrupt Vector Addresses
Function
Source
MOR
Control
Bit
Global
Hardware
Mask
Local
Software
Mask
Priority
(1 = Highest)
Vector
Address
Reset
Power-on logic
RESET pin
Low-voltage reset
â
â
â
Illegal address reset
1
$1FFEâ$1FFF
COP watchdog
COPEN(1)
Software
interrupt (SWI)
User code
â
â
â
Same priority
as instruction
$1FFCâ$1FFD
IRQ/VPP pin
â
External
interrupt (IRQ)
PA3 pin
PA2 pin
PA1 pin
PA0 pin
I bit
IRQE bit
2
$1FFAâ$1FFB
PIRQ(2)
Core timer
interrupts
TOF bit
RTIF bit
â
I bit
TOFE bit
RTIE bit
3
$1FF8â$1FF9
Programmable
timer interrupts
ICF bit
OCF bit
TOF bit
ICIE bit
â
I bit
OCIE bit
4
$1FF6â$1FF7
TOIE bit
Serial interrupt SPIF bit
â
I bit
SPIE bit
5
$1FF4â$1FF5
Analog interrupt
CPF1 bit
CPF2 bit
â
I bit
CPIE bit
6
$1FF2â$1FF3
1. COPEN enables the COP watchdog timer.
2. PIRQ enables port A external interrupts on PA0âPA3.
Advance Information
52
MC68HC705JJ7 ⢠MC68HC705JP7 â REV 4
Interrupts
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
|
▷ |