Select one of the symbols to view example projects that use it.
 
Outline
#include "esp_types.h"
#include "esp_err.h"
adc_cali_scheme_t
adc_cali_scheme_t
Files
loading...
SourceVuESP-IDF Framework and ExamplesESP-IDFcomponents/esp_adc/interface/adc_cali_interface.h
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* * SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 *//* ... */ #pragma once #include "esp_types.h" #include "esp_err.h" #ifdef __cplusplus extern "C" { #endif typedef struct adc_cali_scheme_t adc_cali_scheme_t; /** * @brief ADC Calibration Scheme Interface and Context *//* ... */ struct adc_cali_scheme_t { /** * @brief Convert ADC raw data to calibrated voltage * * @param[in] arg ///< ADC calibration scheme specific context * @param[in] raw ///< ADC raw data * @param[out] voltage ///< Calibrated ADC voltage (in mV) * * @return * - ESP_OK: On success * - ESP_ERR_INVALID_ARG: Invalid argument * - ESP_ERR_INVALID_STATE: Invalid state, scheme didn't registered *//* ... */ esp_err_t (*raw_to_voltage)(void *arg, int raw, int *voltage); /** * @brief ADC calibration specific contexts * Can be customized to difference calibration schemes *//* ... */ void *ctx; }{ ... }; #ifdef __cplusplus }{...} #endif
Details
Show:
from
Types: Columns:
This file uses the notable symbols shown below. Click anywhere in the file to view more details.