Searched refs:IRQn (Results 1 – 1 of 1) sorted by relevance
728 #define _BIT_SHIFT(IRQn) ( ((((uint32_t)(int32_t)(IRQn)) ) & 0x03UL) * 8UL) argument729 #define _SHP_IDX(IRQn) ( (((((uint32_t)(int32_t)(IRQn)) & 0x0FUL)-8UL) >> 2UL) ) argument730 #define _IP_IDX(IRQn) ( (((uint32_t)(int32_t)(IRQn)) >> 2UL) ) argument741 __STATIC_INLINE void __NVIC_EnableIRQ(IRQn_Type IRQn) in __NVIC_EnableIRQ() argument743 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() argument762 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 …]