English
Language : 

PXR40RM Datasheet, PDF (313/1434 Pages) Freescale Semiconductor, Inc – PXR40 Microcontroller
Interrupts and Interrupt Controller (INTC)
10.3.1.6 INTC Priority Select Registers (INTC_PSR0–479)
The INTC_PSRn allows you to select a priority for each interrupt request source (peripheral IRQs or
software-configurable IRQs). Each priority select register (INTC_PSRn) is assigned to the IRQ source
vector with the same number. For example, the software-configurable IRQs 0–7 are assigned vectors 0–7,
and their priorities are configured in INTC_PSR0–INTC_PSR7, respectively. The peripheral interrupt
requests are assigned vectors 8–479 and their priorities are configured in priority select registers
INTC_PSR8 through INTC_PSR479, respectively.
Although INTC_PSRn is 8 bits wide, you can use a single 16-bit or 32-bit access, provided that it does not
cross a 32-bit boundary.
NOTE
Do not modify the PRIn field in INTC_PSRn when the IRQ is asserted.
Address: Base + 0x0040 + n (INTC_PSRn); n = 0–479
0
R
0
W
Reset
0
1
2
3
4
5
6
0
0
0
PRIn
0
0
0
0
0
0
Figure 10-13. INTC Priority Select Registers (INTC_PSRn)
Table 10-7. INTC_PSRn Field Descriptions
Field
0–3
4–7
PRIn
Description
Reserved, must be cleared.
Priority select. Selects the priority for corresponding interrupt request.
1111 Priority 15 (highest)
1110 Priority 14
...
0001 Priority 1
0000 Priority 0 (lowest)
Access: R/W
7
0
10.4 Functional Description
10.4.1 Interrupt Request Sources
The INTC has two types of interrupt requests, peripheral and software configurable. The assignments
between the interrupt requests from the modules to the vectors for input to the e200z7 are shown in
Table 10-8. The Hardware Vector Mode Offset column lists the IRQ-specific offsets when using hardware
vector mode. The Source column shows the C language syntax for the register bit label:
module_register[bit]. Interrupt requests from the same module location are ORed together. The individual
interrupt priorities are selected in INTC_PSRn, where the priority select register is assigned according to
the vector number.
Freescale Semiconductor
PXR40 Microcontroller Reference Manual, Rev. 1
10-13