Searched refs:pre_scale (Results 1 – 2 of 2) sorted by relevance
/hal_telink-3.6.0-3.5.0-3.4.0/tlsr9/drivers/B91/ |
D | adc.c | 198 void adc_set_scale_factor(adc_pre_scale_e pre_scale) in adc_set_scale_factor() argument 200 …8( areg_ain_scale , (analog_read_reg8( areg_ain_scale )&(~FLD_SEL_AIN_SCALE)) | (pre_scale<<6) ); in adc_set_scale_factor() 201 g_adc_pre_scale = 1<<(unsigned char)pre_scale; in adc_set_scale_factor() 230 void adc_init(adc_ref_vol_e v_ref,adc_pre_scale_e pre_scale,adc_sample_freq_e sample_freq) in adc_init() argument 237 adc_set_scale_factor(pre_scale);//set Analog input pre-scaling in adc_init() 256 void adc_gpio_sample_init(adc_input_pin_def_e pin,adc_ref_vol_e v_ref,adc_pre_scale_e pre_scale,adc… in adc_gpio_sample_init() argument 258 adc_init(v_ref,pre_scale,sample_freq); in adc_gpio_sample_init()
|
D | adc.h | 330 void adc_set_scale_factor(adc_pre_scale_e pre_scale); 349 void adc_gpio_sample_init(adc_input_pin_def_e pin,adc_ref_vol_e v_ref,adc_pre_scale_e pre_scale,adc… 382 void adc_init(adc_ref_vol_e v_ref,adc_pre_scale_e pre_scale,adc_sample_freq_e sample_freq);
|