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 cpu: add esp32 2018-10-08 12:20:49 +02:00
sys cpu: add esp32 2018-10-08 12:20:49 +02:00
adc_arch.h cpu/esp32: doxygen fix 2018-11-05 11:27:00 +01:00
cpu_conf.h cpu: add esp32 2018-10-08 12:20:49 +02:00
cpu.h cpu: add esp32 2018-10-08 12:20:49 +02:00
esp_common_log.h cpu: add esp32 2018-10-08 12:20:49 +02:00
esp_common.h cpu: add esp32 2018-10-08 12:20:49 +02:00
exceptions.h cpu: add esp32 2018-10-08 12:20:49 +02:00
gpio_arch.h cpu/esp32: doxygen fix 2018-11-05 11:27:00 +01:00
irq_arch.h cpu: add esp32 2018-10-08 12:20:49 +02:00
log_module.h cpu: add esp32 2018-10-08 12:20:49 +02:00
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 cpu: add esp32 2018-10-08 12:20:49 +02:00
syscalls.h cpu: add esp32 2018-10-08 12:20:49 +02:00
thread_arch.h cpu: add esp32 2018-10-08 12:20:49 +02:00
tools.h cpu: add esp32 2018-10-08 12:20:49 +02:00
xtensa_conf.h cpu: add esp32 2018-10-08 12:20:49 +02:00