Go to the source code of this file.
|
#define | STM32_DMA_HAL_OVERRIDE 0x7F |
|
#define | STM32_DMA_STREAM_OFFSET 1 |
|
#define | STM32_DMA_SLOT(id, dir, slot) DT_INST_DMAS_CELL_BY_NAME(id, dir, slot) |
|
#define | STM32_DMA_SLOT_BY_IDX(id, idx, slot) DT_INST_DMAS_CELL_BY_IDX(id, idx, slot) |
|
#define | STM32_DMA_FEATURES(id, dir) DT_INST_DMAS_CELL_BY_NAME(id, dir, features) |
|
#define | STM32_DMA_CTLR(id, dir) DT_INST_DMAS_CTLR_BY_NAME(id, dir) |
|
#define | STM32_DMA_CHANNEL_CONFIG(id, dir) DT_INST_DMAS_CELL_BY_NAME(id, dir, channel_config) |
|
#define | STM32_DMA_CHANNEL_CONFIG_BY_IDX(id, idx) DT_INST_DMAS_CELL_BY_IDX(id, idx, channel_config) |
|
#define | STM32_DMA_CONFIG_DIRECTION(config) ((config >> 6) & 0x3) |
|
#define | STM32_DMA_CONFIG_PERIPHERAL_ADDR_INC(config) ((config >> 9) & 0x1) |
|
#define | STM32_DMA_CONFIG_MEMORY_ADDR_INC(config) ((config >> 10) & 0x1) |
|
#define | STM32_DMA_CONFIG_PERIPHERAL_DATA_SIZE(config) (1 << ((config >> 11) & 0x3)) |
|
#define | STM32_DMA_CONFIG_MEMORY_DATA_SIZE(config) (1 << ((config >> 13) & 0x3)) |
|
#define | STM32_DMA_CONFIG_PERIPHERAL_INC_FIXED(config) ((config >> 15) & 0x1) |
|
#define | STM32_DMA_CONFIG_PRIORITY(config) ((config >> 16) & 0x3) |
|
#define | STM32_DMA_FEATURES_FIFO_THRESHOLD(features) 0 |
|
◆ STM32_DMA_CHANNEL_CONFIG
◆ STM32_DMA_CHANNEL_CONFIG_BY_IDX
◆ STM32_DMA_CONFIG_DIRECTION
#define STM32_DMA_CONFIG_DIRECTION |
( |
|
config | ) |
((config >> 6) & 0x3) |
◆ STM32_DMA_CONFIG_MEMORY_ADDR_INC
#define STM32_DMA_CONFIG_MEMORY_ADDR_INC |
( |
|
config | ) |
((config >> 10) & 0x1) |
◆ STM32_DMA_CONFIG_MEMORY_DATA_SIZE
#define STM32_DMA_CONFIG_MEMORY_DATA_SIZE |
( |
|
config | ) |
(1 << ((config >> 13) & 0x3)) |
◆ STM32_DMA_CONFIG_PERIPHERAL_ADDR_INC
#define STM32_DMA_CONFIG_PERIPHERAL_ADDR_INC |
( |
|
config | ) |
((config >> 9) & 0x1) |
◆ STM32_DMA_CONFIG_PERIPHERAL_DATA_SIZE
#define STM32_DMA_CONFIG_PERIPHERAL_DATA_SIZE |
( |
|
config | ) |
(1 << ((config >> 11) & 0x3)) |
◆ STM32_DMA_CONFIG_PERIPHERAL_INC_FIXED
#define STM32_DMA_CONFIG_PERIPHERAL_INC_FIXED |
( |
|
config | ) |
((config >> 15) & 0x1) |
◆ STM32_DMA_CONFIG_PRIORITY
#define STM32_DMA_CONFIG_PRIORITY |
( |
|
config | ) |
((config >> 16) & 0x3) |
◆ STM32_DMA_CTLR
◆ STM32_DMA_FEATURES
◆ STM32_DMA_FEATURES_FIFO_THRESHOLD
#define STM32_DMA_FEATURES_FIFO_THRESHOLD |
( |
|
features | ) |
0 |
◆ STM32_DMA_HAL_OVERRIDE
#define STM32_DMA_HAL_OVERRIDE 0x7F |
◆ STM32_DMA_SLOT
◆ STM32_DMA_SLOT_BY_IDX
◆ STM32_DMA_STREAM_OFFSET
#define STM32_DMA_STREAM_OFFSET 1 |