Searched refs:IRQn (Results 1 – 13 of 13) sorted by relevance
533 #define _BIT_SHIFT(IRQn) ( (((uint32_t)(IRQn) ) & 0x03) * 8 ) argument534 #define _SHP_IDX(IRQn) ( ((((uint32_t)(IRQn) & 0x0F)-8) >> 2) ) argument535 #define _IP_IDX(IRQn) ( ((uint32_t)(IRQn) >> 2) ) argument544 __STATIC_INLINE void NVIC_EnableIRQ(IRQn_Type IRQn) in NVIC_EnableIRQ() argument546 NVIC->ISER[0] = (1 << ((uint32_t)(IRQn) & 0x1F)); in NVIC_EnableIRQ()556 __STATIC_INLINE void NVIC_DisableIRQ(IRQn_Type IRQn) in NVIC_DisableIRQ() argument558 NVIC->ICER[0] = (1 << ((uint32_t)(IRQn) & 0x1F)); in NVIC_DisableIRQ()572 __STATIC_INLINE uint32_t NVIC_GetPendingIRQ(IRQn_Type IRQn) in NVIC_GetPendingIRQ() argument574 return((uint32_t) ((NVIC->ISPR[0] & (1 << ((uint32_t)(IRQn) & 0x1F)))?1:0)); in NVIC_GetPendingIRQ()584 __STATIC_INLINE void NVIC_SetPendingIRQ(IRQn_Type IRQn) in NVIC_SetPendingIRQ() argument[all …]
644 #define _BIT_SHIFT(IRQn) ( (((uint32_t)(IRQn) ) & 0x03) * 8 ) argument645 #define _SHP_IDX(IRQn) ( ((((uint32_t)(IRQn) & 0x0F)-8) >> 2) ) argument646 #define _IP_IDX(IRQn) ( ((uint32_t)(IRQn) >> 2) ) argument655 __STATIC_INLINE void NVIC_EnableIRQ(IRQn_Type IRQn) in NVIC_EnableIRQ() argument657 NVIC->ISER[0] = (1 << ((uint32_t)(IRQn) & 0x1F)); in NVIC_EnableIRQ()667 __STATIC_INLINE void NVIC_DisableIRQ(IRQn_Type IRQn) in NVIC_DisableIRQ() argument669 NVIC->ICER[0] = (1 << ((uint32_t)(IRQn) & 0x1F)); in NVIC_DisableIRQ()683 __STATIC_INLINE uint32_t NVIC_GetPendingIRQ(IRQn_Type IRQn) in NVIC_GetPendingIRQ() argument685 return((uint32_t) ((NVIC->ISPR[0] & (1 << ((uint32_t)(IRQn) & 0x1F)))?1:0)); in NVIC_GetPendingIRQ()695 __STATIC_INLINE void NVIC_SetPendingIRQ(IRQn_Type IRQn) in NVIC_SetPendingIRQ() argument[all …]
664 #define _BIT_SHIFT(IRQn) ( (((uint32_t)(IRQn) ) & 0x03) * 8 ) argument665 #define _SHP_IDX(IRQn) ( ((((uint32_t)(IRQn) & 0x0F)-8) >> 2) ) argument666 #define _IP_IDX(IRQn) ( ((uint32_t)(IRQn) >> 2) ) argument675 __STATIC_INLINE void NVIC_EnableIRQ(IRQn_Type IRQn) in NVIC_EnableIRQ() argument677 NVIC->ISER[0] = (1 << ((uint32_t)(IRQn) & 0x1F)); in NVIC_EnableIRQ()687 __STATIC_INLINE void NVIC_DisableIRQ(IRQn_Type IRQn) in NVIC_DisableIRQ() argument689 NVIC->ICER[0] = (1 << ((uint32_t)(IRQn) & 0x1F)); in NVIC_DisableIRQ()703 __STATIC_INLINE uint32_t NVIC_GetPendingIRQ(IRQn_Type IRQn) in NVIC_GetPendingIRQ() argument705 return((uint32_t) ((NVIC->ISPR[0] & (1 << ((uint32_t)(IRQn) & 0x1F)))?1:0)); in NVIC_GetPendingIRQ()715 __STATIC_INLINE void NVIC_SetPendingIRQ(IRQn_Type IRQn) in NVIC_SetPendingIRQ() argument[all …]
1343 __STATIC_INLINE void NVIC_EnableIRQ(IRQn_Type IRQn) in NVIC_EnableIRQ() argument1345 NVIC->ISER[((uint32_t)(IRQn) >> 5)] = (1 << ((uint32_t)(IRQn) & 0x1F)); /* enable interrupt */ in NVIC_EnableIRQ()1355 __STATIC_INLINE void NVIC_DisableIRQ(IRQn_Type IRQn) in NVIC_DisableIRQ() argument1357 NVIC->ICER[((uint32_t)(IRQn) >> 5)] = (1 << ((uint32_t)(IRQn) & 0x1F)); /* disable interrupt */ in NVIC_DisableIRQ()1371 __STATIC_INLINE uint32_t NVIC_GetPendingIRQ(IRQn_Type IRQn) in NVIC_GetPendingIRQ() argument1373 …return((uint32_t) ((NVIC->ISPR[(uint32_t)(IRQn) >> 5] & (1 << ((uint32_t)(IRQn) & 0x1F)))?1:0)); /… in NVIC_GetPendingIRQ()1383 __STATIC_INLINE void NVIC_SetPendingIRQ(IRQn_Type IRQn) in NVIC_SetPendingIRQ() argument1385 …NVIC->ISPR[((uint32_t)(IRQn) >> 5)] = (1 << ((uint32_t)(IRQn) & 0x1F)); /* set interrupt pending */ in NVIC_SetPendingIRQ()1395 __STATIC_INLINE void NVIC_ClearPendingIRQ(IRQn_Type IRQn) in NVIC_ClearPendingIRQ() argument1397 …NVIC->ICPR[((uint32_t)(IRQn) >> 5)] = (1 << ((uint32_t)(IRQn) & 0x1F)); /* Clear pending interrupt… in NVIC_ClearPendingIRQ()[all …]
1323 __STATIC_INLINE void NVIC_EnableIRQ(IRQn_Type IRQn) in NVIC_EnableIRQ() argument1325 NVIC->ISER[((uint32_t)(IRQn) >> 5)] = (1 << ((uint32_t)(IRQn) & 0x1F)); /* enable interrupt */ in NVIC_EnableIRQ()1335 __STATIC_INLINE void NVIC_DisableIRQ(IRQn_Type IRQn) in NVIC_DisableIRQ() argument1337 NVIC->ICER[((uint32_t)(IRQn) >> 5)] = (1 << ((uint32_t)(IRQn) & 0x1F)); /* disable interrupt */ in NVIC_DisableIRQ()1351 __STATIC_INLINE uint32_t NVIC_GetPendingIRQ(IRQn_Type IRQn) in NVIC_GetPendingIRQ() argument1353 …return((uint32_t) ((NVIC->ISPR[(uint32_t)(IRQn) >> 5] & (1 << ((uint32_t)(IRQn) & 0x1F)))?1:0)); /… in NVIC_GetPendingIRQ()1363 __STATIC_INLINE void NVIC_SetPendingIRQ(IRQn_Type IRQn) in NVIC_SetPendingIRQ() argument1365 …NVIC->ISPR[((uint32_t)(IRQn) >> 5)] = (1 << ((uint32_t)(IRQn) & 0x1F)); /* set interrupt pending */ in NVIC_SetPendingIRQ()1375 __STATIC_INLINE void NVIC_ClearPendingIRQ(IRQn_Type IRQn) in NVIC_ClearPendingIRQ() argument1377 …NVIC->ICPR[((uint32_t)(IRQn) >> 5)] = (1 << ((uint32_t)(IRQn) & 0x1F)); /* Clear pending interrupt… in NVIC_ClearPendingIRQ()[all …]
1494 __STATIC_INLINE void NVIC_EnableIRQ(IRQn_Type IRQn) in NVIC_EnableIRQ() argument1497 …NVIC->ISER[(uint32_t)((int32_t)IRQn) >> 5] = (uint32_t)(1 << ((uint32_t)((int32_t)IRQn) & (uint32_… in NVIC_EnableIRQ()1507 __STATIC_INLINE void NVIC_DisableIRQ(IRQn_Type IRQn) in NVIC_DisableIRQ() argument1509 NVIC->ICER[((uint32_t)(IRQn) >> 5)] = (1 << ((uint32_t)(IRQn) & 0x1F)); /* disable interrupt */ in NVIC_DisableIRQ()1523 __STATIC_INLINE uint32_t NVIC_GetPendingIRQ(IRQn_Type IRQn) in NVIC_GetPendingIRQ() argument1525 …return((uint32_t) ((NVIC->ISPR[(uint32_t)(IRQn) >> 5] & (1 << ((uint32_t)(IRQn) & 0x1F)))?1:0)); /… in NVIC_GetPendingIRQ()1535 __STATIC_INLINE void NVIC_SetPendingIRQ(IRQn_Type IRQn) in NVIC_SetPendingIRQ() argument1537 …NVIC->ISPR[((uint32_t)(IRQn) >> 5)] = (1 << ((uint32_t)(IRQn) & 0x1F)); /* set interrupt pending */ in NVIC_SetPendingIRQ()1547 __STATIC_INLINE void NVIC_ClearPendingIRQ(IRQn_Type IRQn) in NVIC_ClearPendingIRQ() argument1549 …NVIC->ICPR[((uint32_t)(IRQn) >> 5)] = (1 << ((uint32_t)(IRQn) & 0x1F)); /* Clear pending interrupt… in NVIC_ClearPendingIRQ()[all …]
1681 __STATIC_INLINE void NVIC_EnableIRQ(IRQn_Type IRQn) in NVIC_EnableIRQ() argument1684 …NVIC->ISER[(uint32_t)((int32_t)IRQn) >> 5] = (uint32_t)(1 << ((uint32_t)((int32_t)IRQn) & (uint32_… in NVIC_EnableIRQ()1694 __STATIC_INLINE void NVIC_DisableIRQ(IRQn_Type IRQn) in NVIC_DisableIRQ() argument1696 NVIC->ICER[((uint32_t)(IRQn) >> 5)] = (1 << ((uint32_t)(IRQn) & 0x1F)); /* disable interrupt */ in NVIC_DisableIRQ()1710 __STATIC_INLINE uint32_t NVIC_GetPendingIRQ(IRQn_Type IRQn) in NVIC_GetPendingIRQ() argument1712 …return((uint32_t) ((NVIC->ISPR[(uint32_t)(IRQn) >> 5] & (1 << ((uint32_t)(IRQn) & 0x1F)))?1:0)); /… in NVIC_GetPendingIRQ()1722 __STATIC_INLINE void NVIC_SetPendingIRQ(IRQn_Type IRQn) in NVIC_SetPendingIRQ() argument1724 …NVIC->ISPR[((uint32_t)(IRQn) >> 5)] = (1 << ((uint32_t)(IRQn) & 0x1F)); /* set interrupt pending */ in NVIC_SetPendingIRQ()1734 __STATIC_INLINE void NVIC_ClearPendingIRQ(IRQn_Type IRQn) in NVIC_ClearPendingIRQ() argument1736 …NVIC->ICPR[((uint32_t)(IRQn) >> 5)] = (1 << ((uint32_t)(IRQn) & 0x1F)); /* Clear pending interrupt… in NVIC_ClearPendingIRQ()[all …]
82 const enum IRQn spiRxIrq(uint8_t busId);83 const enum IRQn spiTxIrq(uint8_t busId);
60 const enum IRQn dmaIrq(uint8_t busId, uint8_t stream);
30 typedef enum IRQn enum
29 enum IRQn rx, tx; in platHostIntfInit()
132 static const enum IRQn STM_DMA_IRQ[STM_DMA_NUM_DEVS][STM_DMA_NUM_STREAMS] = {299 const enum IRQn dmaIrq(uint8_t busId, uint8_t stream) in dmaIrq()
627 const enum IRQn spiRxIrq(uint8_t busId) in spiRxIrq()637 const enum IRQn spiTxIrq(uint8_t busId) in spiTxIrq()