Searched refs:ADC_AVGCTRL_SAMPLENUM (Results 1 – 2 of 2) sorted by relevance
1436 ((Adc *)hw)->AVGCTRL.reg |= ADC_AVGCTRL_SAMPLENUM(mask); in hri_adc_set_AVGCTRL_SAMPLENUM_bf()1444 tmp = (tmp & ADC_AVGCTRL_SAMPLENUM(mask)) >> ADC_AVGCTRL_SAMPLENUM_Pos; in hri_adc_get_AVGCTRL_SAMPLENUM_bf()1455 tmp |= ADC_AVGCTRL_SAMPLENUM(data); in hri_adc_write_AVGCTRL_SAMPLENUM_bf()1464 ((Adc *)hw)->AVGCTRL.reg &= ~ADC_AVGCTRL_SAMPLENUM(mask); in hri_adc_clear_AVGCTRL_SAMPLENUM_bf()1472 ((Adc *)hw)->AVGCTRL.reg ^= ADC_AVGCTRL_SAMPLENUM(mask); in hri_adc_toggle_AVGCTRL_SAMPLENUM_bf()
421 #define ADC_AVGCTRL_SAMPLENUM(value) (ADC_AVGCTRL_SAMPLENUM_Msk & ((value) << ADC_AVGCTRL_SAMPLENUM… macro