CMSIS + 0/135 examples
CodeScope will show references to __NVIC_PRIO_BITS from the following samples and libraries:
Examples
STM32446E_EVAL
Demonstrations
Applications
FatFs
FreeRTOS
USB_Host
STM32469I-Discovery
Demonstrations
Applications
FileX
FX_IAP
FreeRTOS
ThreadX
USBX
USB_Host
STM32469I_EVAL
Demonstrations
Applications
FatFs
FreeRTOS
LwIP
mbedTLS
USB_Host
STM32F412G-Discovery
Demonstrations
Applications
FatFs
FreeRTOS
STM32F413H-Discovery
Demonstrations
Applications
FatFs
FreeRTOS
STM32F429I-Discovery
Demonstrations
Applications
FreeRTOS
STM324x9I_EVAL
Applications
FatFs
FreeRTOS
LwIP
mbedTLS
USB_Host
Demonstrations
STemWin
STM324xG_EVAL
Applications
FatFs
FreeRTOS
LwIP
mbedTLS
USB_Host
STM32F412ZG-Nucleo
Applications
USB_Host
STM32F413ZH-Nucleo
Applications
FreeRTOS
STM32F429ZI-Nucleo
Applications
LwIP
NetXDuo
ThreadX
USBX
 
Symbols
loading...
Files
loading...

__NVIC_PRIO_BITS macro

STM32F4XX uses 4 Bits for the Priority Levels

Syntax

#define __NVIC_PRIO_BITS 4U

Examples

__NVIC_PRIO_BITS is referenced by 135 libraries and example projects.

References

LocationText
stm32f401xc.h:49
#define __NVIC_PRIO_BITS 4U /*!< STM32F4XX uses 4 Bits for the Priority Levels */
stm32f401xe.h:49
#define __NVIC_PRIO_BITS 4U /*!< STM32F4XX uses 4 Bits for the Priority Levels */
stm32f407xx.h:49
#define __NVIC_PRIO_BITS 4U /*!< STM32F4XX uses 4 Bits for the Priority Levels */
stm32f410rx.h:49
#define __NVIC_PRIO_BITS 4U /*!< STM32F4XX uses 4 Bits for the Priority Levels */
stm32f410tx.h:49
#define __NVIC_PRIO_BITS 4U /*!< STM32F4XX uses 4 Bits for the Priority Levels */
stm32f411xe.h:49
#define __NVIC_PRIO_BITS 4U /*!< STM32F4XX uses 4 Bits for the Priority Levels */
stm32f412zx.h:49
#define __NVIC_PRIO_BITS 4U /*!< STM32F4XX uses 4 Bits for the Priority Levels */
stm32f413xx.h:49
#define __NVIC_PRIO_BITS 4U /*!< STM32F4XX uses 4 Bits for the Priority Levels */
stm32f417xx.h:49
#define __NVIC_PRIO_BITS 4U /*!< STM32F4XX uses 4 Bits for the Priority Levels */
stm32f429xx.h:49
#define __NVIC_PRIO_BITS 4U /*!< STM32F4XX uses 4 Bits for the Priority Levels */
stm32f439xx.h:49
#define __NVIC_PRIO_BITS 4U /*!< STM32F4XX uses 4 Bits for the Priority Levels */
stm32f446xx.h:49
#define __NVIC_PRIO_BITS 4U /*!< STM32F4XX uses 4 Bits for the Priority Levels */
stm32f469xx.h:49
#define __NVIC_PRIO_BITS 4U /*!< STM32F4XX uses 4 Bits for the Priority Levels */
stm32f479xx.h:49
#define __NVIC_PRIO_BITS 4U /*!< STM32F4XX uses 4 Bits for the Priority Levels */
core_cm4.h:1818
NVIC->IP[((uint32_t)IRQn)] = (uint8_t)((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t)0xFFUL);
core_cm4.h:1822
SCB->SHP[(((uint32_t)IRQn) & 0xFUL)-4UL] = (uint8_t)((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t)0xFFUL);
core_cm4.h:1841
return(((uint32_t)NVIC->IP[((uint32_t)IRQn)] >> (8U - __NVIC_PRIO_BITS)));
core_cm4.h:1845
return(((uint32_t)SCB->SHP[(((uint32_t)IRQn) & 0xFUL)-4UL] >> (8U - __NVIC_PRIO_BITS)));
core_cm4.h:1867
PreemptPriorityBits = ((7UL - PriorityGroupTmp) > (uint32_t)(__NVIC_PRIO_BITS)) ? (uint32_t)(__NVIC_PRIO_BITS) : (uint32_t)(7UL - PriorityGroupTmp);
core_cm4.h:1868
SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint32_t)0UL : (uint32_t)((PriorityGroupTmp - 7UL) + (uint32_t)(__NVIC_PRIO_BITS));
core_cm4.h:1894
PreemptPriorityBits = ((7UL - PriorityGroupTmp) > (uint32_t)(__NVIC_PRIO_BITS)) ? (uint32_t)(__NVIC_PRIO_BITS) : (uint32_t)(7UL - PriorityGroupTmp);
core_cm4.h:1895
SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint32_t)0UL : (uint32_t)((PriorityGroupTmp - 7UL) + (uint32_t)(__NVIC_PRIO_BITS));
core_cm4.h:2030
NVIC_SetPriority (SysTick_IRQn, (1UL << __NVIC_PRIO_BITS) - 1UL); /* set Priority for Systick Interrupt */