EPAIPV
When an EPA x interrupt occurs, the EPA interrupt priority vector register (EPAIPV) contains a number
that identifies the highest priority, active, multiplexed interrupt source (see Table C-14).
EPAIPV allows software to branch via the TIJMP instruction to the correct interrupt service routine
when EPA x is activated. Reading EPAIPV clears the EPA pending bit for the interrupt associated with
the value in EPAIPV. When all the EPA pending bits are cleared, the EPA x pending bit is also cleared.
7
—
—
Bit
Bit
Number
Mnemonic
5:7
—
4:0
PV4:0
Value
Interrupt
14H
EPA4
13H
EPA5
12H
EPA6
11H
EPA7
10H
EPA8
0FH
EPA9
0EH
OVR0
†
These interrupts apply to the 8XC196K x devices only.
—
PV4
Reserved; always write as zeros.
Priority Vector
These bits contain a number from 01H to 14H corresponding to the
highest-priority active interrupt source. This value, when used with the
TIJMP instruction, allows software to branch to the correct interrupt
service routine.
Table C-14. EPA Interrupt Priority Vectors
Value
†
0DH
†
0CH
†
0BH
†
0AH
09H
08H
07H
PV3
PV2
Function
Interrupt
Value
OVR1
06H
OVR2
05H
OVR3
04H
†
OVR4
03H
†
OVR5
02H
†
OVR6
01H
†
OVR7
00H
REGISTERS
EPAIPV
Address:
1FA8H
Reset State:
00H
0
PV1
PV0
Interrupt
OVR8
OVR9
COMP0
COMP1
OVRTM1
OVRTM2
None
C-45