Interrupt Priority Levels; Exception Priorities Within An Ipl; Interrupt Priority Register (Addr X:$Ffff); Status Register Interrupt Mask Bits - Motorola DSP56000 Manual

24-bit digital signal processor
Hide thumbs Also See for DSP56000:
Table of Contents

Advertisement

EXCEPTION PROCESSING STATE (INTERRUPT PROCESSING)
Table 7-2 Status Register Interrupt Mask Bits
I1
0
0
1
1
ority levels, see the individual DSP56K family member's User's Manual.

7.3.2.1 Interrupt Priority Levels

The IPL for each on-chip peripheral device (HI, SSI, SCI) and for each external interrupt
source (IRQA, IRQB) can be programmed to one of the three maskable priority levels
(IPL 0, 1, or 2) under software control. IPLs are set by writing to the interrupt priority reg-
ister shown in Figure 7-2. This read/write register is located in program memory at
address $FFFF. It specifies the IPL for each of the interrupting devices including IRQA,
IRQB and each peripheral device. (For specific peripheral information, see the specific
DSP56K family member's User's Manual.) In addition, it specifies the trigger mode of the
external interrupt sources and is used to enable or disable the individual external inter-
rupts. The interrupt priority register is cleared on RESET or by the reset instruction.
Table 7-3 defines the IPL bits. Table 7-4 defines the external interrupt trigger mode bits.

7.3.2.2 Exception Priorities Within an IPL

If more than one interrupt is pending when an instruction is executed, the processor will
service the interrupt with the highest priority level first. When multiple interrupt requests
23
**
Bits 6 to 9 are reserved, read as zero and should be written with zero for future compatibility.
Figure 7-2 Interrupt Priority Register (Addr X:$FFFF)
7 - 14
I0
Exceptions Permitted
0
IPL 0, 1, 2, 3
1
IPL 1, 2, 3
0
IPL 2, 3
1
IPL 3
10
9
8
7
**
*
*
*
PROCESSING STATES
Exceptions Masked
None
IPL 0
IPL 0, 1
IPL 0, 1, 2
6
5
4
3
2
IBL2
IBL1
IBL0
IAL2
*
RESERVED FOR EXPANSION
RESERVED FOR PERIPHERAL IPL LEVELS
1
0
IAL1 IAL0
IRQA MODE
IRQB MODE
MOTOROLA

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dsp56k

Table of Contents