Home
last modified time | relevance | path

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

/hal_infineon-2.7.6/XMCLib/drivers/inc/
Dxmc_vadc.h3002 …d XMC_VADC_GROUP_ScanAddMultipleChannels(XMC_VADC_GROUP_t *const group_ptr, const uint32_t ch_mask) in XMC_VADC_GROUP_ScanAddMultipleChannels() argument
3005 group_ptr->ASSEL = ch_mask; in XMC_VADC_GROUP_ScanAddMultipleChannels()
3518 const uint32_t ch_mask) in XMC_VADC_GLOBAL_BackgndAddMultipleChannels() argument
3522 global_ptr->BRSSEL[grp_num] |= ch_mask; in XMC_VADC_GLOBAL_BackgndAddMultipleChannels()
3577 const uint32_t ch_mask) in XMC_VADC_GLOBAL_BackgndRemoveMultipleChannels() argument
3581 global_ptr->BRSSEL[grp_num] &= (uint32_t)~ch_mask; in XMC_VADC_GLOBAL_BackgndRemoveMultipleChannels()
/hal_infineon-2.7.6/XMCLib/drivers/src/
Dxmc_vadc.c890 uint32_t ch_mask; in XMC_VADC_GLOBAL_SHS_SetGainFactor() local
896 ch_mask = ((uint32_t)ch_num << (uint32_t)2); in XMC_VADC_GLOBAL_SHS_SetGainFactor()
899 shs_ptr->GNCTR00 &= ~((uint32_t)SHS_GNCTR00_GAIN0_Msk << ch_mask) ; in XMC_VADC_GLOBAL_SHS_SetGainFactor()
900 shs_ptr->GNCTR00 |= ((uint32_t)gain_value << ch_mask); in XMC_VADC_GLOBAL_SHS_SetGainFactor()
904 shs_ptr->GNCTR10 &= ~((uint32_t)SHS_GNCTR10_GAIN0_Msk << ch_mask); in XMC_VADC_GLOBAL_SHS_SetGainFactor()
905 shs_ptr->GNCTR10 |= ((uint32_t)gain_value << ch_mask); in XMC_VADC_GLOBAL_SHS_SetGainFactor()