mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-25 00:15:23 +00:00
This part of common code for ADC drivers, the adc_context_enable_timer() function, was still converting sampling interval values to milliseconds (the only option available at the time this code has been created) when setting up the kernel timer, consequently limiting the maximum sampling frequency to 1000 samples per second. This patch switches the routine to specifying the interval in microseconds, to remove this limitation. Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no> |
||
---|---|---|
.. | ||
adc_common.c | ||
adc_context.h | ||
adc_handlers.c | ||
adc_lmp90xxx.c | ||
adc_mchp_xec.c | ||
adc_mcp320x.c | ||
adc_mcux_adc12.c | ||
adc_mcux_adc16.c | ||
adc_nrfx_adc.c | ||
adc_nrfx_saadc.c | ||
adc_sam_afec.c | ||
adc_sam0.c | ||
adc_shell.c | ||
adc_stm32.c | ||
CMakeLists.txt | ||
Kconfig | ||
Kconfig.lmp90xxx | ||
Kconfig.mcp320x | ||
Kconfig.mcux | ||
Kconfig.nrfx | ||
Kconfig.sam_afec | ||
Kconfig.sam0 | ||
Kconfig.stm32 | ||
Kconfig.xec |