Searched refs:avgNum (Results 1 – 4 of 4) sorted by relevance
380 void ADC_SetAverageNum(ADC_Type* base, uint8_t logicCh, uint8_t avgNum) in ADC_SetAverageNum() argument383 assert(avgNum <= adcAvgNum32); in ADC_SetAverageNum()389 ADC_CH_A_CFG2_CHA_AVG_NUMBER(avgNum); in ADC_SetAverageNum()393 ADC_CH_B_CFG2_CHB_AVG_NUMBER(avgNum); in ADC_SetAverageNum()397 ADC_CH_C_CFG2_CHC_AVG_NUMBER(avgNum); in ADC_SetAverageNum()401 ADC_CH_D_CFG2_CHD_AVG_NUMBER(avgNum); in ADC_SetAverageNum()405 ADC_CH_SW_CFG_CH_SW_AVG_NUMBER(avgNum); in ADC_SetAverageNum()
320 void ADC_SetAverageNum(ADC_Type* base, uint8_t avgNum) in ADC_SetAverageNum() argument322 assert(avgNum <= adcAvgNumNone); in ADC_SetAverageNum()324 if(avgNum != adcAvgNumNone) in ADC_SetAverageNum()330 ADC_CFG_AVGS(avgNum); in ADC_SetAverageNum()
340 void ADC_SetAverageNum(ADC_Type* base, uint8_t avgNum);
288 void ADC_SetAverageNum(ADC_Type* base, uint8_t logicCh, uint8_t avgNum);