Interrupt Controller (INTC)
MPC5565 Microcontroller Reference Manual, Rev. 1.0
10-10
Freescale Semiconductor
10.3.1.2
INTC Current Priority Register (INTC_CPR)
The INTC_CPR masks any peripheral or software settable interrupt request set at the same or lower
priority as the current value of the INTC_CPR[PRI] field from generating an interrupt request to the
processor. When the INTC interrupt acknowledge register (INTC_IACKR) is read in software vector
mode or the interrupt acknowledge signal from the processor is asserted in hardware vector mode, the
value of PRI is pushed onto the LIFO, and PRI is updated with the priority of the preempting interrupt
request. When the INTC end-of-interrupt register (INTC_EOIR) is written, the LIFO is popped into the
INTC_CPR’s PRI field.
The masking priority can be raised or lowered by writing to the PRI field, supporting the PCP. Refer to
Section 10.5.5, “Priority Ceiling Protocol
.”
NOTE
On some Power Architecture MCUs, a store to raise the PRI field which
closely precedes an access to a shared resource can result in a non-coherent
access to that resource unless an
mbar
or
msync
followed by an
isync
sequence of instructions is executed between the accesses. An
mbar
or
msync
instruction is also necessary after accessing the resource but before
lowering the PRI field. Refer to
Section 10.5.5.2, “Ensuring Coherency
Table 10-4. INTC_MCR Field Descriptions
Field
Description
0–25
Reserved, must be cleared.
26
VTES
Vector table entry size. Controls the number of ‘0’s to the right of INTVEC in
Section 10.3.1.3, “INTC Interrupt
Acknowledge Register (INTC_IACKR)
. If the contents of INTC_IACKR are used as an address of an entry in a vector
table as in software vector mode, then the number of rightmost ‘0’s determines the size of each vector table entry.
VTES impacts software vector mode operation but also affects the INTC_IACKR[INTVEC] position in both hardware
vector mode and software vector mode.
0 4 bytes (Normal expected use)
1 8 bytes
27–30
Reserved, must be cleared.
31
HVEN
Hardware vector enable. Controls whether the INTC is in hardware vector mode or software vector mode. Refer to
Section 10.1.4, “Modes of Operation
”, for the details of the handshaking with the processor in each mode.
0 Software vector mode
1 Hardware vector mode
Address: Base + 0x0008 (INTC_CPR)
Access: R/W
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
R 0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
PRI
W
Reset 0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
Figure 10-8. INTC Current Priority Register (INTC_CPR)
Summary of Contents for MPC5565
Page 18: ...MPC5565 Microcontroller Reference Manual Devices Supported MPC5565 MPC5565 RM Rev 1 0 09 2007...
Page 34: ...MPC5565 Reference Manual Rev 1 0 Freescale Semiconductor 15...
Page 35: ...MPC5565 Reference Manual Rev 1 0 16 Freescale Semiconductor...
Page 553: ...Flash Memory MPC5565 Microcontroller Reference Manual Rev 1 0 13 38 Freescale Semiconductor...
Page 559: ...SRAM MPC5565 Microcontroller Reference Manual Rev 1 0 14 6 Freescale Semiconductor...
Page 973: ...Preface MPC5565 Microcontroller Reference Manual Rev 1 0 21 36 Freescale Semiconductor...
Page 1153: ...Calibration MPC5565 Microcontroller Reference Manual Rev 1 0 B 8 Freescale Semiconductor...