Home
last modified time | relevance | path

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

/hal_infineon-3.6.0/mtb-pdl-cat1/drivers/source/
Dcy_sysint.c138 … IRQn_Type IRQn = (IRQn_Type)(config->intrSrc >> 16) ; /* Fetch bit 16-31 to get CPU IRQ value */ in Cy_SysInt_Init() local
143 …if (IRQn > NvicMux1_IRQn && IRQn < Internal0_IRQn) /* CPU IRQ0 and IRQ1 for CM0+ are used by ROM a… in Cy_SysInt_Init()
145 if (IRQn > SysTick_IRQn && IRQn < Internal0_IRQn) in Cy_SysInt_Init()
148 Cy_SysInt_SetInterruptSource(IRQn, devIntrSrc); in Cy_SysInt_Init()
155 NVIC_SetPriority(IRQn, config->intrPriority); in Cy_SysInt_Init()
170 void Cy_SysInt_SetInterruptSource(IRQn_Type IRQn, cy_en_intr_t devIntrSrc) in Cy_SysInt_SetInterruptSource() argument
175 uint32_t regPos = ((uint32_t)IRQn >> CY_SYSINT_CM0P_MUX_SHIFT); in Cy_SysInt_SetInterruptSource()
178 …uint32_t bitfield_Pos = (uint32_t)((uint32_t)IRQn - (uint32_t)(regPos << CY_SYSINT_CM0P_MUX_SHIFT)… in Cy_SysInt_SetInterruptSource()
188 … CPUSS_CM0_SYSTEM_INT_CTL[devIntrSrc] = _VAL2FLD(CPUSS_V2_CM0_SYSTEM_INT_CTL_CPU_INT_IDX, IRQn) in Cy_SysInt_SetInterruptSource()
196 … CPUSS_CM0_SYSTEM_INT_CTL[devIntrSrc] = _VAL2FLD(CPUSS_CM0_SYSTEM_INT_CTL_CM0_CPU_INT_IDX, IRQn) in Cy_SysInt_SetInterruptSource()
[all …]
Dcy_sysint_v2.c105 cy_israddress Cy_SysInt_SetVector(IRQn_Type IRQn, cy_israddress userIsr) in Cy_SysInt_SetVector() argument
113 prevIsr = (cy_israddress)__vector_table_rw_ptr[CY_INT_IRQ_BASE + (uint32_t)IRQn]; in Cy_SysInt_SetVector()
114 __vector_table_rw_ptr[CY_INT_IRQ_BASE + (uint32_t)IRQn] = (uint32_t)userIsr; in Cy_SysInt_SetVector()
127 cy_israddress Cy_SysInt_GetVector(IRQn_Type IRQn) in Cy_SysInt_GetVector() argument
133 currIsr = (cy_israddress)__vector_table_rw_ptr[CY_INT_IRQ_BASE + (uint32_t)IRQn]; in Cy_SysInt_GetVector()
146 void Cy_SysInt_SoftwareTrig(IRQn_Type IRQn) in Cy_SysInt_SoftwareTrig() argument
148 NVIC->STIR = (uint32_t)IRQn & CY_SYSINT_STIR_MASK; in Cy_SysInt_SoftwareTrig()
/hal_infineon-3.6.0/mtb-pdl-cat1/drivers/include/
Dcy_sysint.h592 cy_israddress Cy_SysInt_SetVector(IRQn_Type IRQn, cy_israddress userIsr);
643 cy_israddress Cy_SysInt_GetVector(IRQn_Type IRQn);
668 void Cy_SysInt_SetInterruptSource(IRQn_Type IRQn, cy_en_intr_t devIntrSrc);
693 cy_en_intr_t Cy_SysInt_GetInterruptSource(IRQn_Type IRQn);
749 cy_en_intr_t Cy_SysInt_GetInterruptActive(IRQn_Type IRQn);
774 void Cy_SysInt_DisconnectInterruptSource(IRQn_Type IRQn, cy_en_intr_t devIntrSrc);
991 void Cy_SysInt_SoftwareTrig(IRQn_Type IRQn);