Searched refs:instance (Results 1 – 2 of 2) sorted by relevance
/hal_infineon-2.7.6/XMCLib/drivers/src/ |
D | xmc_acmp.c | 82 void XMC_ACMP_Init(XMC_ACMP_t *const peripheral, uint32_t instance, const XMC_ACMP_CONFIG_t *const … in XMC_ACMP_Init() argument 87 XMC_ASSERT("XMC_ACMP_Init:Wrong instance number", XMC_ACMP_CHECK_INSTANCE(instance) ) in XMC_ACMP_Init() 94 …peripheral->ANACMP[instance] = ((peripheral->ANACMP[instance] & (uint32_t)COMPARATOR_ANACMP0_CMP_L… in XMC_ACMP_Init() 99 void XMC_ACMP_SetInput(XMC_ACMP_t *const peripheral, uint32_t instance, XMC_ACMP_INP_SOURCE_t sourc… in XMC_ACMP_SetInput() argument 102 XMC_ASSERT("XMC_ACMP_SetInput:Wrong instance number", ((instance != XMC_ACMP_INSTANCE_1) && in XMC_ACMP_SetInput() 103 XMC_ACMP_CHECK_INSTANCE(instance)) ) in XMC_ACMP_SetInput() 115 …peripheral->ANACMP[instance] = ((peripheral->ANACMP[instance] & (uint32_t)(~COMPARATOR_ANACMP0_ACM… in XMC_ACMP_SetInput()
|
/hal_infineon-2.7.6/XMCLib/drivers/inc/ |
D | xmc_acmp.h | 246 void XMC_ACMP_Init(XMC_ACMP_t *const peripheral, uint32_t instance, const XMC_ACMP_CONFIG_t *const … 267 __STATIC_INLINE void XMC_ACMP_EnableComparator(XMC_ACMP_t *const peripheral, uint32_t instance) in XMC_ACMP_EnableComparator() argument 270 XMC_ASSERT("XMC_ACMP_EnableComparator:Wrong instance number", XMC_ACMP_CHECK_INSTANCE(instance) ) in XMC_ACMP_EnableComparator() 272 peripheral->ANACMP[instance] |= (uint16_t)COMPARATOR_ANACMP0_CMP_EN_Msk; in XMC_ACMP_EnableComparator() 294 __STATIC_INLINE void XMC_ACMP_DisableComparator(XMC_ACMP_t *const peripheral, uint32_t instance) in XMC_ACMP_DisableComparator() argument 297 XMC_ASSERT("XMC_ACMP_DisableComparator:Wrong instance number", XMC_ACMP_CHECK_INSTANCE(instance) ) in XMC_ACMP_DisableComparator() 299 peripheral->ANACMP[instance] &= (uint16_t)(~((uint32_t)COMPARATOR_ANACMP0_CMP_EN_Msk)); in XMC_ACMP_DisableComparator() 370 void XMC_ACMP_SetInput(XMC_ACMP_t *const peripheral, uint32_t instance, const XMC_ACMP_INP_SOURCE_t…
|