4.3.8. System Handler Priority Registers

The SHPR1-SHPR3 registers set the priority level, 0 to 255, of the exception handlers that have configurable priority.

SHPR1-SHPR3 are byte accessible. See the register summary in Table 4.12 for their attributes.

To access to the system exception priority level using CMSIS, use the following CMSIS functions:

The input parameter IRQn is the IRQ number, see Table 2.16 for more information.

System Handler Priority Register 1

The bit assignments are:

To view this graphic, your browser must support the SVG format. Either install a browser with native support, or install an appropriate plugin such as Adobe SVG Viewer.

Table 4.21. SHPR1 register bit assignments

BitsNameFunction
[31:24]PRI_7Reserved
[23:16]PRI_6Priority of system handler 6, UsageFault
[15:8]PRI_5Priority of system handler 5, BusFault
[7:0]PRI_4Priority of system handler 4, MemManage

System Handler Priority Register 2

The bit assignments are:

To view this graphic, your browser must support the SVG format. Either install a browser with native support, or install an appropriate plugin such as Adobe SVG Viewer.

Table 4.22. SHPR2 register bit assignments

BitsNameFunction
[31:24]PRI_11Priority of system handler 11, SVCall
[23:0]-Reserved

System Handler Priority Register 3

The bit assignments are:

To view this graphic, your browser must support the SVG format. Either install a browser with native support, or install an appropriate plugin such as Adobe SVG Viewer.

Table 4.23. SHPR3 register bit assignments

BitsNameFunction
[31:24]PRI_15Priority of system handler 15, SysTick exception
[23:16]PRI_14Priority of system handler 14, PendSV
[15:0]-Reserved

Copyright © 2010 ARM. All rights reserved.ARM DUI 0552A
Non-ConfidentialID121610