Home
last modified time | relevance | path

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

/hal_infineon-latest/mtb-pdl-cat1/drivers/source/
Dcy_evtgen.c162 uint8_t structNum, in Cy_EvtGen_InitStruct() argument
168 if ((NULL != base) && (NULL != configStruct) && (EVTGEN_COMP_STRUCT_NR > structNum)) in Cy_EvtGen_InitStruct()
173 tempCompStructCompCTL = base->COMP_STRUCT[structNum].COMP_CTL; in Cy_EvtGen_InitStruct()
188 …base->COMP_STRUCT[structNum].COMP0 = (uint32_t) (tempCounterValue + (uint64_t) configStruct->value… in Cy_EvtGen_InitStruct()
193 …base->COMP_STRUCT[structNum].COMP1 = (uint32_t)(tempCounterValue + (uint64_t)configStruct->valueDe… in Cy_EvtGen_InitStruct()
197 base->COMP_STRUCT[structNum].COMP_CTL = tempCompStructCompCTL; in Cy_EvtGen_InitStruct()
199 Cy_EvtGen_SetStructInterruptMask(base, structNum); in Cy_EvtGen_InitStruct()
202 Cy_EvtGen_SetStructInterruptDeepSleepMask(base, structNum); in Cy_EvtGen_InitStruct()
223 void Cy_EvtGen_DeinitStruct(EVTGEN_Type *base, uint8_t structNum) in Cy_EvtGen_DeinitStruct() argument
226 CY_ASSERT_L1(CY_EVTGEN_IS_STRUCTNUM_VALID(structNum)); in Cy_EvtGen_DeinitStruct()
[all …]
/hal_infineon-latest/mtb-pdl-cat1/drivers/include/
Dcy_evtgen.h188 #define CY_EVTGEN_IS_STRUCTNUM_VALID(structNum) ((structNum) < EVTGEN_COMP_STRUCT_NR) argument
744 __STATIC_INLINE bool Cy_EvtGen_GetCompActiveEnabledStatus(EVTGEN_Type *base, uint8_t structNum) in Cy_EvtGen_GetCompActiveEnabledStatus() argument
746 CY_ASSERT_L1(CY_EVTGEN_IS_STRUCTNUM_VALID(structNum)); in Cy_EvtGen_GetCompActiveEnabledStatus()
747 …return (((_FLD2VAL(EVTGEN_COMP_STRUCT_COMP_CTL_COMP0_EN, base->COMP_STRUCT[structNum].COMP_CTL)) !… in Cy_EvtGen_GetCompActiveEnabledStatus()
766 __STATIC_INLINE bool Cy_EvtGen_GetCompDeepSleepEnabledStatus(EVTGEN_Type *base, uint8_t structNum) in Cy_EvtGen_GetCompDeepSleepEnabledStatus() argument
768 CY_ASSERT_L1(CY_EVTGEN_IS_STRUCTNUM_VALID(structNum)); in Cy_EvtGen_GetCompDeepSleepEnabledStatus()
769 …return (((_FLD2VAL(EVTGEN_COMP_STRUCT_COMP_CTL_COMP1_EN, base->COMP_STRUCT[structNum].COMP_CTL)) !… in Cy_EvtGen_GetCompDeepSleepEnabledStatus()
788 __STATIC_INLINE bool Cy_EvtGen_IsCompStructEnabled(EVTGEN_Type *base, uint8_t structNum) in Cy_EvtGen_IsCompStructEnabled() argument
790 CY_ASSERT_L1(CY_EVTGEN_IS_STRUCTNUM_VALID(structNum)); in Cy_EvtGen_IsCompStructEnabled()
791 …return (((_FLD2VAL(EVTGEN_COMP_STRUCT_COMP_CTL_ENABLED, base->COMP_STRUCT[structNum].COMP_CTL)) !=… in Cy_EvtGen_IsCompStructEnabled()
[all …]