Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
dma_esp32.h File Reference

Go to the source code of this file.

Macros

#define ESP32_DT_INST_DMA_CTLR(n, name)
 
#define ESP32_DT_INST_DMA_CELL(n, name, cell)
 

Enumerations

enum  gdma_trigger_peripheral {
  ESP_GDMA_TRIG_PERIPH_M2M = -1 , ESP_GDMA_TRIG_PERIPH_SPI2 = 0 , ESP_GDMA_TRIG_PERIPH_SPI3 = 1 , ESP_GDMA_TRIG_PERIPH_UHCI0 = 2 ,
  ESP_GDMA_TRIG_PERIPH_I2S0 = 3 , ESP_GDMA_TRIG_PERIPH_I2S1 = 4 , ESP_GDMA_TRIG_PERIPH_LCD0 = 5 , ESP_GDMA_TRIG_PERIPH_CAM0 = 5 ,
  ESP_GDMA_TRIG_PERIPH_AES = 6 , ESP_GDMA_TRIG_PERIPH_SHA = 7 , ESP_GDMA_TRIG_PERIPH_ADC0 = 8 , ESP_GDMA_TRIG_PERIPH_DAC0 = 8 ,
  ESP_GDMA_TRIG_PERIPH_RMT = 9 , ESP_GDMA_TRIG_PERIPH_INVALID = 0x3F
}
 

Macro Definition Documentation

◆ ESP32_DT_INST_DMA_CELL

#define ESP32_DT_INST_DMA_CELL ( n,
name,
cell )
Value:
(DT_INST_DMAS_CELL_BY_NAME(n, name, cell)), \
(0xff))
#define DT_INST_DMAS_CELL_BY_NAME(inst, name, cell)
Get a DT_DRV_COMPAT instance's DMA specifier's cell value by name.
Definition dma.h:232
#define DT_INST_NODE_HAS_PROP(inst, prop)
Does a DT_DRV_COMPAT instance have a property?
Definition devicetree.h:4950
#define COND_CODE_1(_flag, _if_1_code, _else_code)
Insert code depending on whether _flag expands to 1 or not.
Definition util_macro.h:195

◆ ESP32_DT_INST_DMA_CTLR

#define ESP32_DT_INST_DMA_CTLR ( n,
name )
Value:
(NULL))
#define DEVICE_DT_GET(node_id)
Get a device reference from a devicetree node identifier.
Definition device.h:255
#define DT_INST_DMAS_CTLR_BY_NAME(inst, name)
Get the node identifier for the DMA controller from a DT_DRV_COMPAT instance's dmas property by name.
Definition dma.h:114

Enumeration Type Documentation

◆ gdma_trigger_peripheral

Enumerator
ESP_GDMA_TRIG_PERIPH_M2M 
ESP_GDMA_TRIG_PERIPH_SPI2 
ESP_GDMA_TRIG_PERIPH_SPI3 
ESP_GDMA_TRIG_PERIPH_UHCI0 
ESP_GDMA_TRIG_PERIPH_I2S0 
ESP_GDMA_TRIG_PERIPH_I2S1 
ESP_GDMA_TRIG_PERIPH_LCD0 
ESP_GDMA_TRIG_PERIPH_CAM0 
ESP_GDMA_TRIG_PERIPH_AES 
ESP_GDMA_TRIG_PERIPH_SHA 
ESP_GDMA_TRIG_PERIPH_ADC0 
ESP_GDMA_TRIG_PERIPH_DAC0 
ESP_GDMA_TRIG_PERIPH_RMT 
ESP_GDMA_TRIG_PERIPH_INVALID