Home
last modified time | relevance | path

Searched refs:IRQn (Results 1 – 1 of 1) sorted by relevance

/hal_rpi_pico-3.7.0-3.6.0-3.5.0/src/rp2_common/cmsis/stub/CMSIS/Core/Include/
Dcore_cm0plus.h728 #define _BIT_SHIFT(IRQn) ( ((((uint32_t)(int32_t)(IRQn)) ) & 0x03UL) * 8UL) argument
729 #define _SHP_IDX(IRQn) ( (((((uint32_t)(int32_t)(IRQn)) & 0x0FUL)-8UL) >> 2UL) ) argument
730 #define _IP_IDX(IRQn) ( (((uint32_t)(int32_t)(IRQn)) >> 2UL) ) argument
741 __STATIC_INLINE void __NVIC_EnableIRQ(IRQn_Type IRQn) in __NVIC_EnableIRQ() argument
743 if ((int32_t)(IRQn) >= 0) in __NVIC_EnableIRQ()
746 NVIC->ISER[0U] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL)); in __NVIC_EnableIRQ()
760 __STATIC_INLINE uint32_t __NVIC_GetEnableIRQ(IRQn_Type IRQn) in __NVIC_GetEnableIRQ() argument
762 if ((int32_t)(IRQn) >= 0) in __NVIC_GetEnableIRQ()
764 … return((uint32_t)(((NVIC->ISER[0U] & (1UL << (((uint32_t)IRQn) & 0x1FUL))) != 0UL) ? 1UL : 0UL)); in __NVIC_GetEnableIRQ()
779 __STATIC_INLINE void __NVIC_DisableIRQ(IRQn_Type IRQn) in __NVIC_DisableIRQ() argument
[all …]