Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
dma_esp32.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2022 Espressif Systems (Shanghai) Co., Ltd.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef ZEPHYR_INCLUDE_DRIVERS_DMA_ESP32_H_
8#define ZEPHYR_INCLUDE_DRIVERS_DMA_ESP32_H_
9
26
27#define ESP32_DT_INST_DMA_CTLR(n, name) \
28 COND_CODE_1(DT_INST_NODE_HAS_PROP(n, dmas), \
29 (DEVICE_DT_GET(DT_INST_DMAS_CTLR_BY_NAME(n, name))), \
30 (NULL))
31
32#define ESP32_DT_INST_DMA_CELL(n, name, cell) \
33 COND_CODE_1(DT_INST_NODE_HAS_PROP(n, dmas), \
34 (DT_INST_DMAS_CELL_BY_NAME(n, name, cell)), \
35 (0xff))
36
37
38#endif /* ZEPHYR_INCLUDE_DRIVERS_DMA_ESP32_H_ */
gdma_trigger_peripheral
Definition dma_esp32.h:10
@ ESP_GDMA_TRIG_PERIPH_SHA
Definition dma_esp32.h:20
@ ESP_GDMA_TRIG_PERIPH_I2S1
Definition dma_esp32.h:16
@ ESP_GDMA_TRIG_PERIPH_ADC0
Definition dma_esp32.h:21
@ ESP_GDMA_TRIG_PERIPH_RMT
Definition dma_esp32.h:23
@ ESP_GDMA_TRIG_PERIPH_LCD0
Definition dma_esp32.h:17
@ ESP_GDMA_TRIG_PERIPH_M2M
Definition dma_esp32.h:11
@ ESP_GDMA_TRIG_PERIPH_UHCI0
Definition dma_esp32.h:14
@ ESP_GDMA_TRIG_PERIPH_AES
Definition dma_esp32.h:19
@ ESP_GDMA_TRIG_PERIPH_INVALID
Definition dma_esp32.h:24
@ ESP_GDMA_TRIG_PERIPH_CAM0
Definition dma_esp32.h:18
@ ESP_GDMA_TRIG_PERIPH_SPI3
Definition dma_esp32.h:13
@ ESP_GDMA_TRIG_PERIPH_I2S0
Definition dma_esp32.h:15
@ ESP_GDMA_TRIG_PERIPH_DAC0
Definition dma_esp32.h:22
@ ESP_GDMA_TRIG_PERIPH_SPI2
Definition dma_esp32.h:12