ESP-IDF
Select one of the symbols to view example projects that use it.
Symbol previews are coming soon...
Outline
#include "esp_intr_alloc.h"
#include "hal/dma_types.h"
#include "hal/adc_hal.h"
#include "../adc_continuous_internal.h"
adc_dma_intr_event_init(adc_continuous_ctx_t *);
adc_dma_init(adc_dma_t *);
adc_dma_deinit(adc_dma_t);
adc_dma_start(adc_dma_t, dma_descriptor_t *);
adc_dma_stop(adc_dma_t);
adc_dma_reset(adc_dma_t);
Files
loading (3/5)...
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
components/esp_adc/include/esp_private/adc_dma.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
/*
* SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
/* ... */
#pragma
once
#include
"
esp_intr_alloc.h"
#include
"
hal
/
dma_types.h"
#include
"
hal
/
adc_hal.h"
#include
"
..
/
adc_continuous_internal.h"
#ifdef
__cplusplus
extern
"C"
{
#endif
/**
* @brief Initialize DMA interrupt event
*
* @param[in] adc_ctx ADC continuous mode driver handle
*
* @return
* - ESP_OK: On success
*/
/* ... */
esp_err_t
adc_dma_intr_event_init
(
adc_continuous_ctx_t
*
adc_ctx
)
;
/**
* @brief Initialize DMA on ADC continuous mode
*
* @param[in] adc_dma ADC DMA context
*
* @return
* - ESP_OK: On success
*/
/* ... */
esp_err_t
adc_dma_init
(
adc_dma_t
*
adc_dma
)
;
/**
* @brief Deinitialize DMA on ADC continuous mode
*
* @param[in] adc_dma ADC DMA context
*
* @return
* - ESP_OK: On success
*/
/* ... */
esp_err_t
adc_dma_deinit
(
adc_dma_t
adc_dma
)
;
/**
* @brief Start DMA on ADC continuous mode
*
* @param[in] adc_dma ADC DMA context
* @param[in] addr ADC DMA descriptor
*
* @return
* - ESP_OK: On success
*/
/* ... */
esp_err_t
adc_dma_start
(
adc_dma_t
adc_dma
,
dma_descriptor_t
*
addr
)
;
/**
* @brief Stop DMA on ADC continuous mode
*
* @param[in] adc_dma ADC DMA context
*
* @return
* - ESP_OK: On success
*/
/* ... */
esp_err_t
adc_dma_stop
(
adc_dma_t
adc_dma
)
;
/**
* @brief Reset DMA on ADC continuous mode
*
* @param[in] adc_dma ADC DMA context
*
* @return
* - ESP_OK: On success
*/
/* ... */
esp_err_t
adc_dma_reset
(
adc_dma_t
adc_dma
)
;
#ifdef
__cplusplus
}
{...}
#endif
Details
Show:
from
Types:
Columns:
All items filtered out
All items filtered out
This file uses the notable symbols shown below. Click anywhere in the file to view more details.
adc_dma_stop()
adc_dma_intr_event_init()
adc_dma_init()
adc_dma_deinit()
adc_dma_start()
adc_dma_reset()
esp_err_t
adc_dma_start()::adc_dma
adc_dma_stop()::adc_dma
adc_dma_intr_event_init()::adc_ctx
adc_dma_init()::adc_dma
adc_dma_deinit()::adc_dma
adc_dma_start()::addr
adc_dma_reset()::adc_dma
adc_continuous_ctx_t
adc_dma_t
dma_descriptor_t