Home
last modified time | relevance | path

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

/hal_infineon-2.7.6/XMCLib/drivers/src/
Dxmc_vadc.c796 void XMC_VADC_GLOBAL_SHS_Init(XMC_VADC_GLOBAL_SHS_t *const shs_ptr, const XMC_VADC_GLOBAL_SHS_CONFI… in XMC_VADC_GLOBAL_SHS_Init() argument
798 …XMC_ASSERT("XMC_VADC_GLOBAL_SHS_Init:Wrong SHS Pointer", (shs_ptr == (XMC_VADC_GLOBAL_SHS_t*)(void… in XMC_VADC_GLOBAL_SHS_Init()
802 shs_ptr->SHSCFG = (uint32_t)((uint32_t)config->shscfg | (uint32_t)SHS_SHSCFG_SCWC_Msk); in XMC_VADC_GLOBAL_SHS_Init()
806 shs_ptr->CALCTR &= ~((uint32_t)SHS_CALCTR_CALORD_Msk); in XMC_VADC_GLOBAL_SHS_Init()
807 shs_ptr->CALCTR |= (uint32_t) ((uint32_t)config->calibration_order << SHS_CALCTR_CALORD_Pos); in XMC_VADC_GLOBAL_SHS_Init()
813 void XMC_VADC_GLOBAL_SHS_EnableAcceleratedMode(XMC_VADC_GLOBAL_SHS_t *const shs_ptr, XMC_VADC_GROUP… in XMC_VADC_GLOBAL_SHS_EnableAcceleratedMode() argument
816 (shs_ptr == (XMC_VADC_GLOBAL_SHS_t*)(void*)SHS0)) in XMC_VADC_GLOBAL_SHS_EnableAcceleratedMode()
822 shs_ptr->TIMCFG0 |= (uint32_t)SHS_TIMCFG0_AT_Msk; in XMC_VADC_GLOBAL_SHS_EnableAcceleratedMode()
826 shs_ptr->TIMCFG1 |= (uint32_t)SHS_TIMCFG1_AT_Msk; in XMC_VADC_GLOBAL_SHS_EnableAcceleratedMode()
835 void XMC_VADC_GLOBAL_SHS_DisableAcceleratedMode(XMC_VADC_GLOBAL_SHS_t *const shs_ptr, XMC_VADC_GROU… in XMC_VADC_GLOBAL_SHS_DisableAcceleratedMode() argument
[all …]
/hal_infineon-2.7.6/XMCLib/drivers/inc/
Dxmc_vadc.h1932 …void XMC_VADC_GLOBAL_SHS_Init(XMC_VADC_GLOBAL_SHS_t *const shs_ptr, const XMC_VADC_GLOBAL_SHS_CONF…
1946 __STATIC_INLINE void XMC_VADC_GLOBAL_SHS_SetAnalogReference(XMC_VADC_GLOBAL_SHS_t *const shs_ptr, in XMC_VADC_GLOBAL_SHS_SetAnalogReference() argument
1950 (shs_ptr == (XMC_VADC_GLOBAL_SHS_t*)(void*)SHS0)) in XMC_VADC_GLOBAL_SHS_SetAnalogReference()
1952shs_ptr->SHSCFG |= (shs_ptr->SHSCFG & (uint32_t)~SHS_SHSCFG_AREF_Msk) | (uint32_t)aref | SHS_SHSC… in XMC_VADC_GLOBAL_SHS_SetAnalogReference()
1970 __STATIC_INLINE void XMC_VADC_GLOBAL_SHS_SetStepperSequence(XMC_VADC_GLOBAL_SHS_t *const shs_ptr, in XMC_VADC_GLOBAL_SHS_SetStepperSequence() argument
1974 (shs_ptr == (XMC_VADC_GLOBAL_SHS_t*)(void*)SHS0)) in XMC_VADC_GLOBAL_SHS_SetStepperSequence()
1978 shs_ptr->STEPCFG = (uint32_t) config->stepcfg; in XMC_VADC_GLOBAL_SHS_SetStepperSequence()
1995 __STATIC_INLINE bool XMC_VADC_GLOBAL_SHS_IsConverterReady(XMC_VADC_GLOBAL_SHS_t *const shs_ptr) in XMC_VADC_GLOBAL_SHS_IsConverterReady() argument
1997 …XMC_ASSERT("XMC_VADC_GLOBAL_SHS_IsConverterReady:Wrong SHS Pointer",(shs_ptr == (XMC_VADC_GLOBAL_S… in XMC_VADC_GLOBAL_SHS_IsConverterReady()
1999 return((bool)((shs_ptr->SHSCFG >> (uint32_t)SHS_SHSCFG_ANRDY_Pos) & (uint32_t)0x1)); in XMC_VADC_GLOBAL_SHS_IsConverterReady()
[all …]