B) Interrupt Priority - Motorola 68HC12 User Manual

Table of Contents

Advertisement

Interrupt Priority:
Interrupts on the 68HC12 do not all occur simultaneously.
hierarchy of priority for the interrupts.
1)
Reset
2)
COP Clock Monitor Fail Reset
3)
COP Failure Reset
4)
Trap
5)
SWI
6)
XIRQ
7)
IRQ
8)
RTI
9)
Timer0
10) Timer1
11) Timer2
12) Timer3
13) Timer4
14) Timer5
15) Timer6
16) Timer7
17) TimerOvf
18) PAOvf
19) PAEdge
20) SPI
21) SCI0
22) SCI1
23) AtoD
24) PortJKey
25) PortHKey
The priority of these can be changed by using _H12HPRIO register.
interrupts are unmaskable and can not have their priority changed.
interrupts are all maskable and may have their priority changed.
be made the highest priority interrupt by writing its address value to _H12HPRIO.
The address values are listed below in hex for each interrupt:
IRQ:
F2
RTI:
F0
Timer0:
EE
Timer1:
EC
Timer2:
EA
Timer3:
E8
Timer4:
E6
Timer5:
E4
Timer6:
E2
Timer7:
E0
TimerOvf:
DE
PAOvf:
DC
PAEdge:
DA
SPI:
D8
SCI0:
D6
SCI1:
D4
AtoD:
D2
PortJKey:
D0
PortHKey:
CE
The default priority order is:
17
Rather there is a
The first six
The other
An interrupt may

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents