|
Zephyr API Documentation 4.4.0
A Scalable Open Source RTOS
|
Go to the source code of this file.
Macros | |
| #define | TI_MSPM0_DMA_SLOT_DMATSEL_MASK GENMASK(5, 0) |
| Mask for DMATSEL trigger selection bits within dma_slot. | |
| #define | TI_MSPM0_DMA_SLOT_EXTMODE_MASK GENMASK(7, 6) |
| Mask for encoding extended modes within dma_slot. | |
| #define | TI_MSPM0_DMA_SLOT(dmatsel, extmode) |
| Build a dma_config.dma_slot value from a DMATSEL trigger and an extended mode. | |
| #define | TI_MSPM0_DMA_SLOT_DMATSEL(dma_slot) |
| Extract the DMATSEL trigger selection from a dma_config.dma_slot value. | |
| #define | TI_MSPM0_DMA_SLOT_EXTMODE(dma_slot) |
| Extract the channel mode from a dma_config.dma_slot value. | |
| #define | TI_MSPM0_DMA_SLOT_EXTMODE_NORMAL 0U |
| Normal DMA transfer. | |
| #define | TI_MSPM0_DMA_SLOT_EXTMODE_FILL 1U |
| Fills a memory block with the pattern in dma_block_config.source_address. | |
| #define | TI_MSPM0_DMA_SLOT_EXTMODE_TABLE 2U |
| Reads a table of {addr, data} pairs from dma_block_config.source_address and writes each word to its addr. | |
| #define | TI_MSPM0_DMA_SLOT_EXTMODE_GATHER 3U |
| Gathers data via an address table at dma_block_config.source_address into dma_block_config.dest_address. | |
| #define TI_MSPM0_DMA_SLOT | ( | dmatsel, | |
| extmode ) |
Build a dma_config.dma_slot value from a DMATSEL trigger and an extended mode.
| dmatsel | DMATSEL trigger selection for the channel. |
| extmode | One of the TI_MSPM0_DMA_SLOT_EXTMODE_* values. |
| #define TI_MSPM0_DMA_SLOT_DMATSEL | ( | dma_slot | ) |
Extract the DMATSEL trigger selection from a dma_config.dma_slot value.
| #define TI_MSPM0_DMA_SLOT_DMATSEL_MASK GENMASK(5, 0) |
Mask for DMATSEL trigger selection bits within dma_slot.
| #define TI_MSPM0_DMA_SLOT_EXTMODE | ( | dma_slot | ) |
Extract the channel mode from a dma_config.dma_slot value.
| #define TI_MSPM0_DMA_SLOT_EXTMODE_FILL 1U |
Fills a memory block with the pattern in dma_block_config.source_address.
| #define TI_MSPM0_DMA_SLOT_EXTMODE_GATHER 3U |
Gathers data via an address table at dma_block_config.source_address into dma_block_config.dest_address.
| #define TI_MSPM0_DMA_SLOT_EXTMODE_MASK GENMASK(7, 6) |
Mask for encoding extended modes within dma_slot.
| #define TI_MSPM0_DMA_SLOT_EXTMODE_NORMAL 0U |
Normal DMA transfer.
| #define TI_MSPM0_DMA_SLOT_EXTMODE_TABLE 2U |
Reads a table of {addr, data} pairs from dma_block_config.source_address and writes each word to its addr.