1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/esp32/include
Gunar Schorcht b3b9f596a4 cpu/esp32: fix of adc_res_t
cpu/esp32/include/periph_cpu.h overrides the default definition of adc_res_t from periph/adc with a definition which contains only four resolution, two new resolutions and two resolutions defined by the default definition of adc_res_t. This gives compilation errors if an application uses other resolutions. According to the documentation, adc_sample should return -1 if the resolution is not supported. All other CPUs override adc_res_t either to add new resolutions or to mark resolutions as unsupported. But they all allow to use them at the interface. Therefore, esp32 overrides now the definition of adc_res_t with all resolutions that are defined by the default definition of adc_res_t and new platform specific resolutions. It returns -1 if a resolution is used in adc_sample that is not supported.
2018-11-30 18:06:51 +01:00
..
freertos
sys
adc_arch.h cpu/esp32: doxygen fix 2018-11-05 11:27:00 +01:00
cpu_conf.h
cpu.h
esp_common_log.h
esp_common.h
exceptions.h
gpio_arch.h cpu/esp32: doxygen fix 2018-11-05 11:27:00 +01:00
irq_arch.h
log_module.h
periph_cpu.h cpu/esp32: fix of adc_res_t 2018-11-30 18:06:51 +01:00
sdk_conf.h cpu/esp32: allow explicit ESP32 crystal freq configuration 2018-10-30 16:42:07 -07:00
stdio.h
syscalls.h
thread_arch.h
tools.h
xtensa_conf.h