PM0214
4.3.7
Interrupt priority register x (NVIC_IPRx)
Address offset: 0x400 + 0x04 * x, (x = 0 to 59)
Reset value: 0x0000 0000
Required privilege: Privileged
The NVIC_IPRx (x = 0 to 59) byte-accessible registers provide 8-bit priority fields IP[N]
(N = 0 to 239) for each of the 240 interrupts. Every register holds four IP[N] fields of the
CMSIS interrupt priority array, as shown in
NVIC_IPR59
NVIC_IPRx
NVIC_IPR0
The following table shows the bit assignment of any NVIC_IPRx register. Each IP[N] field
order can be expressed as N = 4 * x + byte offset.
Bits
[31:24]
[23:16]
[15:8]
[7:0]
See
Interrupt set-enable register x (NVIC_ISERx) on page 210
priorities from the software perspective.
Note:
The number of interrupts is product-dependent. Refer to reference manual/datasheet of
relevant STM32 product for related information.
Figure 19. Mapping of IP[N] fields in NVIC_IPRx registers
31
24
IP[239]
IP[4x+3]
IP[3]
Table 47. NVIC_IPRx bit assignment
Name
Priority, byte offset = 3
Priority, byte offset = 2
Priority, byte offset = 1
Priority, byte offset = 0
Figure
19.
23
16
15
IP[238]
IP[4x+2]
IP[2]
Each priority field holds a priority value, 0-255. The lower the
value, the greater the priority of the corresponding interrupt. The
processor implements only bits[7:4] of each field, bits[3:0] read
as zero and ignore writes.
PM0214 Rev 10
Core peripherals
8
7
IP[237]
IP[236]
IP[4x+1]
IP[4x]
IP[1]
IP[0]
Function
for a view of the interrupt
0
MSv47990V1
215/262
261
Need help?
Do you have a question about the STM32F3 Series and is the answer not in the manual?
Questions and answers