ESP-IDF
adc1_channel_t
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Values
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
adc1_channel_t
adc1_channel_t enum
Syntax
Show:
Summary
Declaration
from
adc_types_legacy.h:39
enum
{
ADC1_CHANNEL_0
=
0
,
ADC1_CHANNEL_1
,
ADC1_CHANNEL_2
,
ADC1_CHANNEL_3
,
ADC1_CHANNEL_4
,
ADC1_CHANNEL_5
,
ADC1_CHANNEL_6
,
ADC1_CHANNEL_7
,
ADC1_CHANNEL_MAX
,
}
;
Values
Value
Declared as
Description
adc1_channel_t::ADC1_CHANNEL_0
=
0
ADC1 channel 0 is GPIO36.
adc1_channel_t::ADC1_CHANNEL_1
ADC1 channel 1 is GPIO37.
adc1_channel_t::ADC1_CHANNEL_2
ADC1 channel 2 is GPIO38.
adc1_channel_t::ADC1_CHANNEL_3
ADC1 channel 3 is GPIO39.
adc1_channel_t::ADC1_CHANNEL_4
ADC1 channel 4 is GPIO32.
adc1_channel_t::ADC1_CHANNEL_5
ADC1 channel 5 is GPIO33.
adc1_channel_t::ADC1_CHANNEL_6
ADC1 channel 6 is GPIO34.
adc1_channel_t::ADC1_CHANNEL_7
ADC1 channel 7 is GPIO35.
adc1_channel_t::ADC1_CHANNEL_MAX
Examples
References
from
examples
Code
Location
Scope
Referrer
typedef
enum
{
adc_types_legacy.h:39
}
adc1_channel_t
;
adc_types_legacy.h:49
esp_err_t
adc1_pad_get_io_num
(
adc1_channel_t
channel
,
gpio_num_t
*
gpio_num
)
;
adc.h:42
adc1_pad_get_io_num()
adc1_pad_get_io_num()::channel
esp_err_t
adc1_config_channel_atten
(
adc1_channel_t
channel
,
adc_atten_t
atten
)
;
adc.h:88
adc1_config_channel_atten()
adc1_config_channel_atten()::channel
int
adc1_get_raw
(
adc1_channel_t
channel
)
;
adc.h:124
adc1_get_raw()
adc1_get_raw()::channel
esp_err_t
adc1_pad_get_io_num
(
adc1_channel_t
channel
,
gpio_num_t
*
gpio_num
)
adc_legacy.c:112
adc1_pad_get_io_num()
adc1_pad_get_io_num()::channel
esp_err_t
adc1_config_channel_atten
(
adc1_channel_t
channel
,
adc_atten_t
atten
)
adc_legacy.c:277
adc1_config_channel_atten()
adc1_config_channel_atten()::channel
int
adc1_get_raw
(
adc1_channel_t
channel
)
adc_legacy.c:382
adc1_get_raw()
adc1_get_raw()::channel
int
adc1_get_voltage
(
adc1_channel_t
channel
)
//Deprecated. Use adc1_get_raw() instead
adc_legacy.c:410
adc1_get_voltage()
adc1_get_voltage()::channel
}
adc1_channel_t
;
adc_types_legacy.h:49
adc1_channel_t
esp_err_t
i2s_set_adc_mode
(
adc_unit_t
adc_unit
,
adc1_channel_t
adc_channel
)
i2s_legacy.c:960
i2s_set_adc_mode()
i2s_set_adc_mode()::adc_channel
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
Instance
Scope
Location
Project
adc1_pad_get_io_num()::channel
adc1_pad_get_io_num()
adc_legacy.c:112
adc1_config_channel_atten()::channel
adc1_config_channel_atten()
adc_legacy.c:277
adc1_get_raw()::channel
adc1_get_raw()
adc_legacy.c:382
adc1_get_voltage()::channel
adc1_get_voltage()
adc_legacy.c:410
i2s_set_adc_mode()::adc_channel
i2s_set_adc_mode()
i2s_legacy.c:960
adc1_pad_get_io_num()::channel
adc1_pad_get_io_num()
adc.h:42
adc1_config_channel_atten()::channel
adc1_config_channel_atten()
adc.h:88
adc1_get_raw()::channel
adc1_get_raw()
adc.h:124
Lifecycle
from
examples
All items filtered out
All items filtered out