Searched refs:ADC_ACQ_TIME_VALUE (Results 1 – 16 of 16) sorted by relevance
24 #define ADC_ACQ_TIME_VALUE(time) ((time) & BIT_MASK(14)) macro
137 data->sample_time = (uint16_t)ADC_ACQ_TIME_VALUE(channel_cfg->acquisition_time); in adc_cc13xx_cc26xx_channel_setup()140 sample_time_us = (uint16_t)ADC_ACQ_TIME_VALUE(channel_cfg->acquisition_time); in adc_cc13xx_cc26xx_channel_setup()144 ADC_ACQ_TIME_VALUE(channel_cfg->acquisition_time) * 1000); in adc_cc13xx_cc26xx_channel_setup()
78 if (ADC_ACQ_TIME_VALUE(acquisition_time) > 64U) { in adc_sam0_acquisition_to_clocks()82 return (int)ADC_ACQ_TIME_VALUE(acquisition_time) - 1; in adc_sam0_acquisition_to_clocks()84 scaled_acq = (uint64_t)ADC_ACQ_TIME_VALUE(acquisition_time) * in adc_sam0_acquisition_to_clocks()88 scaled_acq = (uint64_t)ADC_ACQ_TIME_VALUE(acquisition_time) * in adc_sam0_acquisition_to_clocks()
121 acquisition_ns = ADC_ACQ_TIME_VALUE(channel_cfg->acquisition_time) * 1000; in ifx_cat1_adc_channel_setup()124 acquisition_ns = ADC_ACQ_TIME_VALUE(channel_cfg->acquisition_time); in ifx_cat1_adc_channel_setup()
60 (ADC_ACQ_TIME_VALUE(chan_cfg->acquisition_time) > 255)) { in adc_numaker_channel_setup()65 data->acq_time = ADC_ACQ_TIME_VALUE(chan_cfg->acquisition_time); in adc_numaker_channel_setup()
218 if (ADC_ACQ_TIME_VALUE(acq_time) <= acq_time_tbl[index]) { in adc_gd32_configure_sampt()223 if (ADC_ACQ_TIME_VALUE(acq_time) != acq_time_tbl[index]) { in adc_gd32_configure_sampt()
111 uint16_t acq_value = ADC_ACQ_TIME_VALUE(acq_time); in ads1112_acq_time_to_dr()
124 uint16_t acq_value = ADC_ACQ_TIME_VALUE(acq_time); in ads1119_acq_time_to_dr()
68 uint32_t acquisition_time_value = ADC_ACQ_TIME_VALUE(acq_time); in mcux_lpadc_acquisition_time_setup()
155 : (ADC_ACQ_TIME_VALUE(acquisition_time) * in adc_convert_acq_time()
242 uint16_t acq_value = ADC_ACQ_TIME_VALUE(acq_time); in ads131m02_acquistion_time()
292 uint16_t acq_value = ADC_ACQ_TIME_VALUE(acq_time); in ads1x1x_acq_time_to_dr()
332 uint16_t acq_value = ADC_ACQ_TIME_VALUE(acq_time); in max1125x_acq_time_to_dr()
369 acq_value = ADC_ACQ_TIME_VALUE(acq_time); in lmp90xxx_acq_time_to_odr()
616 uint16_t acquisition_time_value = ADC_ACQ_TIME_VALUE(channel_cfg->acquisition_time); in ads114s0x_channel_setup()
1023 acq_time_value = ADC_ACQ_TIME_VALUE(acquisition_time); in numaker_eadc_smplmod_init()