| /Zephyr-latest/drivers/adc/ |
| D | adc_sam0.c | 68 uint16_t acquisition_time) in adc_sam0_acquisition_to_clocks() argument 73 switch (ADC_ACQ_TIME_UNIT(acquisition_time)) { in adc_sam0_acquisition_to_clocks() 75 if (ADC_ACQ_TIME_VALUE(acquisition_time) > 64U) { in adc_sam0_acquisition_to_clocks() 79 return (int)ADC_ACQ_TIME_VALUE(acquisition_time) - 1; in adc_sam0_acquisition_to_clocks() 81 scaled_acq = (uint64_t)ADC_ACQ_TIME_VALUE(acquisition_time) * in adc_sam0_acquisition_to_clocks() 85 scaled_acq = (uint64_t)ADC_ACQ_TIME_VALUE(acquisition_time) * in adc_sam0_acquisition_to_clocks() 120 if (channel_cfg->acquisition_time != ADC_ACQ_TIME_DEFAULT) { in adc_sam0_channel_setup() 122 channel_cfg->acquisition_time); in adc_sam0_channel_setup()
|
| D | adc_cc13xx_cc26xx.c | 135 switch (ADC_ACQ_TIME_UNIT(channel_cfg->acquisition_time)) { in adc_cc13xx_cc26xx_channel_setup() 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()
|
| D | adc_ifx_cat1.c | 159 if (channel_cfg->acquisition_time != ADC_ACQ_TIME_DEFAULT) { in ifx_cat1_adc_channel_setup() 160 switch (ADC_ACQ_TIME_UNIT(channel_cfg->acquisition_time)) { in ifx_cat1_adc_channel_setup() 162 acquisition_ns = ADC_ACQ_TIME_VALUE(channel_cfg->acquisition_time) * 1000; in ifx_cat1_adc_channel_setup() 165 acquisition_ns = ADC_ACQ_TIME_VALUE(channel_cfg->acquisition_time); in ifx_cat1_adc_channel_setup()
|
| D | adc_nrfx_saadc.c | 120 static int adc_convert_acq_time(uint16_t acquisition_time, nrf_saadc_acqtime_t *p_tacq_val) in adc_convert_acq_time() argument 125 switch (acquisition_time) { in adc_convert_acq_time() 155 (acquisition_time == ADC_ACQ_TIME_DEFAULT in adc_convert_acq_time() 157 : (ADC_ACQ_TIME_VALUE(acquisition_time) * in adc_convert_acq_time() 158 (ADC_ACQ_TIME_UNIT(acquisition_time) == ADC_ACQ_TIME_MICROSECONDS in adc_convert_acq_time() 289 int ret = adc_convert_acq_time(channel_cfg->acquisition_time, &config.acq_time); in adc_nrfx_channel_setup()
|
| D | adc_shell.c | 62 .acquisition_time = ADC_ACQ_TIME_DEFAULT, \ 310 adc->channel_config.acquisition_time = in cmd_adc_acq() 313 adc->channel_config.acquisition_time = in cmd_adc_acq() 316 adc->channel_config.acquisition_time = in cmd_adc_acq() 319 adc->channel_config.acquisition_time = in cmd_adc_acq() 419 adc->channel_config.acquisition_time, in cmd_adc_print()
|
| D | adc_numaker.c | 58 if (chan_cfg->acquisition_time != ADC_ACQ_TIME_DEFAULT) { in adc_numaker_channel_setup() 59 if ((ADC_ACQ_TIME_UNIT(chan_cfg->acquisition_time) != ADC_ACQ_TIME_TICKS) || in adc_numaker_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()
|
| D | adc_mcux_gau_adc.c | 72 if (channel_cfg->acquisition_time == 0) { in mcux_gau_adc_channel_setup() 74 } else if (channel_cfg->acquisition_time <= 32) { in mcux_gau_adc_channel_setup() 76 ADC_ADC_REG_INTERVAL_WARMUP_TIME(channel_cfg->acquisition_time - 1); in mcux_gau_adc_channel_setup()
|
| D | adc_ads7052.c | 55 if (channel_cfg->acquisition_time != ADC_ACQ_TIME_DEFAULT) { in adc_ads7052_channel_setup() 56 LOG_ERR("unsupported acquisition_time '%d'", channel_cfg->acquisition_time); in adc_ads7052_channel_setup()
|
| D | adc_mcp320x.c | 63 if (channel_cfg->acquisition_time != ADC_ACQ_TIME_DEFAULT) { in mcp320x_channel_setup() 65 channel_cfg->acquisition_time); in mcp320x_channel_setup()
|
| D | adc_ambiq.c | 243 if (chan_cfg->acquisition_time != ADC_ACQ_TIME_DEFAULT) { in adc_ambiq_channel_setup() 244 LOG_ERR("unsupported acquisition_time '%d'", chan_cfg->acquisition_time); in adc_ambiq_channel_setup()
|
| D | adc_max11102_17.c | 95 if (channel_cfg->acquisition_time != ADC_ACQ_TIME_DEFAULT) { in max11102_17_channel_setup() 96 LOG_ERR("invalid acquisition time %i", channel_cfg->acquisition_time); in max11102_17_channel_setup()
|
| D | adc_nrfx_adc.c | 57 if (channel_cfg->acquisition_time != ADC_ACQ_TIME_DEFAULT) { in adc_nrfx_channel_setup()
|
| D | adc_ene_kb1200.c | 146 if (channel_cfg->acquisition_time != ADC_ACQ_TIME_DEFAULT) { in adc_kb1200_channel_setup()
|
| /Zephyr-latest/drivers/sensor/nxp/nxp_kinetis_temp/ |
| D | temp_kinetis.c | 149 .acquisition_time = ADC_ACQ_TIME_DEFAULT, in temp_kinetis_init() 156 .acquisition_time = ADC_ACQ_TIME_DEFAULT, in temp_kinetis_init()
|
| /Zephyr-latest/drivers/sensor/lm35/ |
| D | lm35.c | 102 .acquisition_time = ADC_ACQ_TIME_DEFAULT, \
|
| /Zephyr-latest/drivers/sensor/seeed/grove/ |
| D | temperature_sensor.c | 102 .acquisition_time = ADC_ACQ_TIME_DEFAULT, in gts_init()
|
| D | light_sensor.c | 100 .acquisition_time = ADC_ACQ_TIME_DEFAULT, in gls_init()
|
| /Zephyr-latest/tests/drivers/adc/adc_error_cases/src/ |
| D | adc_error_cases.c | 20 .acquisition_time = ADC_ACQ_TIME_DEFAULT,
|
| /Zephyr-latest/include/zephyr/drivers/ |
| D | adc.h | 107 uint16_t acquisition_time; member 243 .acquisition_time = DT_PROP(node_id, zephyr_acquisition_time), \
|
| /Zephyr-latest/drivers/sensor/rpi_pico_temp/ |
| D | rpi_pico_temp.c | 113 .acquisition_time = ADC_ACQ_TIME_DEFAULT, \
|
| /Zephyr-latest/drivers/sensor/st/stm32_vbat/ |
| D | stm32_vbat.c | 141 .acquisition_time = ADC_ACQ_TIME_MAX, \
|
| /Zephyr-latest/drivers/sensor/st/stm32_vref/ |
| D | stm32_vref.c | 168 .acquisition_time = ADC_ACQ_TIME_MAX,
|
| /Zephyr-latest/tests/drivers/dac/dac_loopback/src/ |
| D | test_dac.c | 194 .acquisition_time = ADC_ACQUISITION_TIME,
|
| /Zephyr-latest/samples/boards/nordic/battery/src/ |
| D | battery.c | 122 .acquisition_time = ADC_ACQ_TIME(ADC_ACQ_TIME_MICROSECONDS, 40), in divider_setup()
|
| /Zephyr-latest/drivers/sensor/st/stm32_temp/ |
| D | stm32_temp.c | 307 .acquisition_time = ADC_ACQ_TIME_MAX,
|