Select one of the symbols to view example projects that use it.
 
Outline
#include "esp_intr_alloc.h"
#include "hal/dma_types.h"
#include "hal/adc_hal.h"
#include "adc_continuous_internal.h"
adc_dma_t
#define ADC_DMA_DESC_ALIGN
Files
loading...
SourceVuESP-IDF Framework and ExamplesESP-IDFcomponents/esp_adc/adc_dma_internal.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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* * 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 ADC DMA context *//* ... */ typedef struct { #if SOC_GDMA_SUPPORTED gdma_channel_handle_t gdma_chan; #elif CONFIG_IDF_TARGET_ESP32S2 //On ESP32S2, there is no gdma, so use SPI DMA to transmit data spi_dma_ctx_t *spi_dma_ctx; spi_dev_t *adc_spi_dev;/* ... */ #elif CONFIG_IDF_TARGET_ESP32 //On ESP32, there is no gdma, so use I2S DMA to transmit data i2s_dev_t *adc_i2s_dev;/* ... */ #endif intr_handle_t dma_intr_hdl; }{ ... } adc_dma_t; #define ADC_DMA_DESC_ALIGN 4 #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.