/Zephyr-Core-3.7.0/drivers/adc/ |
D | adc_sam0.c | 71 uint16_t acquisition_time) in adc_sam0_acquisition_to_clocks() argument 76 switch (ADC_ACQ_TIME_UNIT(acquisition_time)) { in adc_sam0_acquisition_to_clocks() 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() 123 if (channel_cfg->acquisition_time != ADC_ACQ_TIME_DEFAULT) { in adc_sam0_channel_setup() 125 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 | 118 if (channel_cfg->acquisition_time != ADC_ACQ_TIME_DEFAULT) { in ifx_cat1_adc_channel_setup() 119 switch (ADC_ACQ_TIME_UNIT(channel_cfg->acquisition_time)) { in ifx_cat1_adc_channel_setup() 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()
|
D | adc_nrfx_saadc.c | 114 static int adc_convert_acq_time(uint16_t acquisition_time, nrf_saadc_acqtime_t *p_tacq_val) in adc_convert_acq_time() argument 119 switch (acquisition_time) { in adc_convert_acq_time() 148 (acquisition_time == ADC_ACQ_TIME_DEFAULT in adc_convert_acq_time() 150 : (ADC_ACQ_TIME_VALUE(acquisition_time) * in adc_convert_acq_time() 151 (ADC_ACQ_TIME_UNIT(acquisition_time) == ADC_ACQ_TIME_MICROSECONDS in adc_convert_acq_time() 257 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, \ 306 adc->channel_config.acquisition_time = in cmd_adc_acq() 309 adc->channel_config.acquisition_time = in cmd_adc_acq() 312 adc->channel_config.acquisition_time = in cmd_adc_acq() 315 adc->channel_config.acquisition_time = in cmd_adc_acq() 415 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_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_ene_kb1200.c | 143 if (channel_cfg->acquisition_time != ADC_ACQ_TIME_DEFAULT) { in adc_kb1200_channel_setup()
|
D | adc_nrfx_adc.c | 57 if (channel_cfg->acquisition_time != ADC_ACQ_TIME_DEFAULT) { in adc_nrfx_channel_setup()
|
D | adc_ads1x1x.c | 356 dr = ads1x1x_acq_time_to_dr(dev, channel_cfg->acquisition_time); in ads1x1x_channel_setup() 359 channel_cfg->acquisition_time); in ads1x1x_channel_setup()
|
/Zephyr-Core-3.7.0/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-Core-3.7.0/drivers/sensor/lm35/ |
D | lm35.c | 102 .acquisition_time = ADC_ACQ_TIME_DEFAULT, \
|
/Zephyr-Core-3.7.0/drivers/sensor/seeed/grove/ |
D | light_sensor.c | 100 .acquisition_time = ADC_ACQ_TIME_DEFAULT, in gls_init()
|
D | temperature_sensor.c | 102 .acquisition_time = ADC_ACQ_TIME_DEFAULT, in gts_init()
|
/Zephyr-Core-3.7.0/include/zephyr/drivers/ |
D | adc.h | 106 uint16_t acquisition_time; member 242 .acquisition_time = DT_PROP(node_id, zephyr_acquisition_time), \
|
/Zephyr-Core-3.7.0/drivers/sensor/rpi_pico_temp/ |
D | rpi_pico_temp.c | 113 .acquisition_time = ADC_ACQ_TIME_DEFAULT, \
|
/Zephyr-Core-3.7.0/drivers/sensor/st/stm32_vref/ |
D | stm32_vref.c | 173 .acquisition_time = ADC_ACQ_TIME_MAX,
|
/Zephyr-Core-3.7.0/drivers/sensor/st/stm32_vbat/ |
D | stm32_vbat.c | 141 .acquisition_time = ADC_ACQ_TIME_MAX, \
|
/Zephyr-Core-3.7.0/tests/drivers/dac/dac_loopback/src/ |
D | test_dac.c | 181 .acquisition_time = ADC_ACQUISITION_TIME,
|
/Zephyr-Core-3.7.0/samples/boards/nrf/battery/src/ |
D | battery.c | 122 .acquisition_time = ADC_ACQ_TIME(ADC_ACQ_TIME_MICROSECONDS, 40), in divider_setup()
|
/Zephyr-Core-3.7.0/drivers/sensor/st/stm32_temp/ |
D | stm32_temp.c | 208 .acquisition_time = ADC_ACQ_TIME_MAX,
|
/Zephyr-Core-3.7.0/tests/drivers/adc/adc_emul/src/ |
D | main.c | 59 .acquisition_time = ADC_ACQUISITION_TIME, in channel_setup() 537 .acquisition_time = ADC_ACQUISITION_TIME, in ZTEST_USER()
|