__NVIC_GetPriority() function
Get Interrupt Priority Reads the priority of a device specific interrupt or a processor exception. The interrupt number can be positive to specify a device specific interrupt, or negative to specify a processor exception.
Return value
Interrupt Priority. Value is aligned automatically to the implemented priority bits of the microcontroller.
__NVIC_GetPriority() reads 2 variables:
![]()
__NVIC_GetPriority()