Atmel Xplained Pro Evaluation Kit ATSAM4E-XPRO ATSAM4E-XPRO Data Sheet

Product codes
ATSAM4E-XPRO
Page of 1506
229
SAM4E [DATASHEET]
Atmel-11157D-ATARM-SAM4E16-SAM4E8-Datasheet_12-Jun-14
12.8.3.6  Interrupt Priority Registers
Name:
NVIC_IPRx [x=0..12]
Access: Read/Write
Reset: 0x000000000
The NVIC_IPR0–NVIC_IPR12 registers provide a 8-bit priority field for each interrupt. These registers are byte-accessible. 
Each register holds four priority fields that map up to four elements in the CMSIS interrupt priority array IP[0] to IP[46].
PRI3: Priority (4m+3)
Priority, Byte Offset 3, refers to register bits [31:24].
PRI2: Priority (4m+2)
Priority, Byte Offset 2, refers to register bits [23:16].
PRI1: Priority (4m+1)
Priority, Byte Offset 1, refers to register bits [15:8]. 
PRI0: Priority (4m)
Priority, Byte Offset 0, refers to register bits [7:0].
Notes:
1. Each priority field holds a priority value, 0–15. 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.
2. For more information about the IP[0] to IP[46] interrupt priority array, that provides the software view of the interrupt 
priorities, see 
.
3. The corresponding IPR number n is given by n = m DIV 4.
4. The byte offset of the required Priority field in this register is m MOD 4.
31
30
29
28
27
26
25
24
PRI3
23
22
21
20
19
18
17
16
PRI2
15
14
13
12
11
10
9
8
PRI1
7
6
5
4
3
2
1
0
PRI0