ESP-IDF
adc_io_to_channel()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
adc_io_to_channel()
adc_io_to_channel() function
Get ADC channel from the given GPIO number
Syntax
Show:
Summary
Declaration
Definition
from
adc_private.h:33
esp_err_t
adc_io_to_channel
(
int
io_num
,
adc_unit_t
*
const
unit_id
,
adc_channel_t
*
const
channel
)
;
Implemented in
adc_common.c:25
Arguments
Argument
Description
io_num
GPIO number
unit_id
ADC unit
channel
ADC channel
Return value
- ESP_OK: On success - ESP_ERR_INVALID_ARG: Invalid argument - ESP_ERR_NOT_FOUND: The IO is not a valid ADC pad
Examples
References
from
examples
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out