ESP-IDF
adc_oneshot_hal_ctx_t
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
adc_oneshot_hal_ctx_t
adc_oneshot_hal_ctx_t struct
Context of the ADC unit, should be maintained by both the driver and the HAL.
Syntax
Show:
Summary
Declaration
from
adc_oneshot_hal.h:38
typedef
struct
adc_oneshot_hal_ctx_t
{
adc_oneshot_soc_handle_t
dev
;
adc_unit_t
unit
;
adc_hal_work_mode_t
work_mode
;
adc_oneshot_hal_chan_cfg_t
chan_configs
[
SOC_ADC_MAX_CHANNEL_NUM
]
;
adc_oneshot_clk_src_t
clk_src
;
uint32_t
clk_src_freq_hz
;
}
adc_oneshot_hal_ctx_t
;
Fields
Field
Declared as
adc_oneshot_hal_ctx_t::dev
adc_oneshot_soc_handle_t
adc_oneshot_hal_ctx_t::unit
adc_unit_t
adc_oneshot_hal_ctx_t::work_mode
adc_hal_work_mode_t
adc_oneshot_hal_ctx_t::chan_configs
adc_oneshot_hal_chan_cfg_t
[
SOC_ADC_MAX_CHANNEL_NUM
]
adc_oneshot_hal_ctx_t::clk_src
adc_oneshot_clk_src_t
adc_oneshot_hal_ctx_t::clk_src_freq_hz
uint32_t
Related Functions
Found 5 other functions taking a
adc_oneshot_hal_ctx_t
argument:
Function
Description
adc_oneshot_hal_setup()
Set ADC Oneshot mode required registers
adc_oneshot_hal_convert()
Start ADC conversion in Oneshot mode and get the raw result
adc_oneshot_hal_init()
Initialise the context
adc_oneshot_hal_channel_config()
Prepare ADC Oneshot hal context
s_disable_dac()
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