Home
last modified time | relevance | path

Searched refs:acquisition_time_value (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/adc/
Dadc_mcux_lpadc.c68 uint32_t acquisition_time_value = ADC_ACQ_TIME_VALUE(acq_time); in mcux_lpadc_acquisition_time_setup() local
71 if (ADC_ACQ_TIME_DEFAULT == acquisition_time_value) { in mcux_lpadc_acquisition_time_setup()
96 acquisition_time_value *= 1000; in mcux_lpadc_acquisition_time_setup()
100 if ((3 * conversion_factor) >= acquisition_time_value) { in mcux_lpadc_acquisition_time_setup()
102 } else if ((5 * conversion_factor) >= acquisition_time_value) { in mcux_lpadc_acquisition_time_setup()
104 } else if ((7 * conversion_factor) >= acquisition_time_value) { in mcux_lpadc_acquisition_time_setup()
106 } else if ((11 * conversion_factor) >= acquisition_time_value) { in mcux_lpadc_acquisition_time_setup()
108 } else if ((19 * conversion_factor) >= acquisition_time_value) { in mcux_lpadc_acquisition_time_setup()
110 } else if ((35 * conversion_factor) >= acquisition_time_value) { in mcux_lpadc_acquisition_time_setup()
112 } else if ((67 * conversion_factor) >= acquisition_time_value) { in mcux_lpadc_acquisition_time_setup()
[all …]
Dadc_ads114s0x.c616 uint16_t acquisition_time_value = ADC_ACQ_TIME_VALUE(channel_cfg->acquisition_time); in ads114s0x_channel_setup() local
646 ADS114S0X_REGISTER_DATARATE_DR_SET(data_rate, acquisition_time_value); in ads114s0x_channel_setup()