This website requires JavaScript.
Odkrywaj
Pomoc
Zarejestruj się
Zaloguj się
mirror
/
esp-idf
kopia lustrzana
https://github.com/espressif/esp-idf
Obserwuj
1
Polub
0
Forkuj
You've already forked esp-idf
0
Kod
Zgłoszenia
Projekty
Wydania
Wiki
Aktywność
78480e215a
esp-idf
/
components
/
esp_adc_cal
/
component.mk
7 wiersze
100 B
Makefile
Czysty
Zwykły widok
Historia
Unescape
Escape
esp_adc_cal: Added ADC calibration component Added component containg API that is able to correct raw ADC readings into a voltage in mV. Also provided a helper function that combines the process of getting the raw ADC1 reading then converting it to a voltage in mV. In doing so, the adc1_get_voltage() function of the ADC driver has been deprecated. Instead there is now adc1_get_raw to obtain the raw ADC1 reading, and adc1_to_voltage() that gets the raw reading and converts all in one function. Functions using the deprecated adc1_get_voltage() have also been updated to use adc1_get_raw(). Conversion is based on ADC characteristics. The characteristics are based on the ADC's v_ref, herefore the appropriate structure and functions have been provided to obtain the ADC characteristics. The existing ADC driver has also been modified by adding a function to route the internal ADC reference voltage to a GPIO allowing users to measure it manually. Relevant documentation has also been updated
2017-08-07 13:33:01 +00:00
#
# Component Makefile
#
esp_adc_cal: simplify CMakeLists.txt
2021-11-04 11:59:19 +00:00
COMPONENT_SRCDIRS
:=
.
$(
IDF_TARGET
)
driver/adc: support for esp32s2 adc calibration scheme ESP32 lets the user choose from using Vref, Lookup Table, and Two-Point Calibration. In ESP32S2 only two-point calibration is supported. This commit support these changes in idf. Closes https://github.com/espressif/esp-idf/issues/5455
2020-07-09 12:55:52 +00:00
COMPONENT_ADD_INCLUDEDIRS
:=
include