Home
last modified time | relevance | path

Searched refs:ADC_ACQ_TIME_VALUE (Results 1 – 16 of 16) sorted by relevance

/Zephyr-latest/include/zephyr/dt-bindings/adc/
Dadc.h24 #define ADC_ACQ_TIME_VALUE(time) ((time) & BIT_MASK(14)) macro
/Zephyr-latest/drivers/adc/
Dadc_cc13xx_cc26xx.c137 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()
Dadc_sam0.c78 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()
Dadc_ifx_cat1.c121 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()
Dadc_numaker.c60 (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()
Dadc_gd32.c218 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()
Dadc_ads1112.c111 uint16_t acq_value = ADC_ACQ_TIME_VALUE(acq_time); in ads1112_acq_time_to_dr()
Dadc_ads1119.c124 uint16_t acq_value = ADC_ACQ_TIME_VALUE(acq_time); in ads1119_acq_time_to_dr()
Dadc_mcux_lpadc.c68 uint32_t acquisition_time_value = ADC_ACQ_TIME_VALUE(acq_time); in mcux_lpadc_acquisition_time_setup()
Dadc_nrfx_saadc.c155 : (ADC_ACQ_TIME_VALUE(acquisition_time) * in adc_convert_acq_time()
Dadc_ads131m02.c242 uint16_t acq_value = ADC_ACQ_TIME_VALUE(acq_time); in ads131m02_acquistion_time()
Dadc_ads1x1x.c292 uint16_t acq_value = ADC_ACQ_TIME_VALUE(acq_time); in ads1x1x_acq_time_to_dr()
Dadc_max1125x.c332 uint16_t acq_value = ADC_ACQ_TIME_VALUE(acq_time); in max1125x_acq_time_to_dr()
Dadc_lmp90xxx.c369 acq_value = ADC_ACQ_TIME_VALUE(acq_time); in lmp90xxx_acq_time_to_odr()
Dadc_ads114s0x.c616 uint16_t acquisition_time_value = ADC_ACQ_TIME_VALUE(channel_cfg->acquisition_time); in ads114s0x_channel_setup()
/Zephyr-latest/drivers/usb_c/tcpc/
Ducpd_numaker.c1023 acq_time_value = ADC_ACQ_TIME_VALUE(acquisition_time); in numaker_eadc_smplmod_init()