Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
dma_bee.h File Reference

Realtek Bee DMA Configuration Macros. More...

Go to the source code of this file.

Macros

#define BEE_DMA_CTLR(id, dir)
 Get the DMA controller device node identifier.
#define BEE_DMA_CHANNEL_CONFIG(id, dir)
 Get the raw configuration value from Devicetree.
#define BEE_DMA_CONFIG_DIRECTION(config)
 Extract DMA transfer direction.
#define BEE_DMA_CONFIG_SOURCE_ADDR_INC(config)
 Extract Source Address Increment mode.
#define BEE_DMA_CONFIG_DESTINATION_ADDR_INC(config)
 Extract Destination Address Increment mode.
#define BEE_DMA_CONFIG_SOURCE_DATA_SIZE(config)
 Extract Source Data Size in bytes.
#define BEE_DMA_CONFIG_DESTINATION_DATA_SIZE(config)
 Extract Destination Data Size in bytes.
#define BEE_DMA_CONFIG_SOURCE_MSIZE(config)
 Extract Source MSIZE.
#define BEE_DMA_CONFIG_DESTINATION_MSIZE(config)
 Extract Destination MSIZE.
#define BEE_DMA_CONFIG_PRIORITY(config)
 Extract Channel Priority.

Detailed Description

Realtek Bee DMA Configuration Macros.

This header contains helper macros to extract DMA configuration parameters (such as direction, data size, burst size, etc.) from the Devicetree config cell for the Realtek Bee series SoCs.