Go to the source code of this file.
|
typedef uint8_t | dma_channel_t[DMA_NUM_OF_MODULES][DMA_NUM_OF_STREAMS_FAMILY][DMA_NUM_OF_CHANNELS_FAMILY] |
|
◆ dma_channel_t
typedef uint8_t dma_channel_t[DMA_NUM_OF_MODULES][DMA_NUM_OF_STREAMS_FAMILY][DMA_NUM_OF_CHANNELS_FAMILY] |
Module/Stream/Channel array prototype.
- Note
- Size varies based on selected MCU.
-
DMA_NUM_OF_MODULES, DMA_NUM_OF_STREAMS_FAMILY, DMA_NUM_OF_CHANNELS_FAMILY are declared separately for each MCU.
◆ dma_err_t
Return values.
Enumerator |
---|
DMA_SUCCESS | Success.
|
DMA_ERROR | Error.
|
◆ dma_state_t
Module state values.
Enumerator |
---|
DMA_STATE_FREE | DMA object is free for use.
|
DMA_STATE_ALLOCATED | DMA object has been allocated - not free for use.
|
◆ dma_source_memory_region_t
Source address memory region.
Enumerator |
---|
DMA_SOURCE_MEMORY_REGION_RAM | DMA source address is in RAM section.
|
DMA_SOURCE_MEMORY_REGION_PFM | DMA source address is in Program Flash Memory section.
|
DMA_SOURCE_MEMORY_REGION_DEEPROM | DMA source address is in Data EEPROM section.
|
◆ dma_direction_t
Module direction values.
Enumerator |
---|
DMA_DIRECTION_MEMORY_TO_MEMORY | M2M
|
DMA_DIRECTION_MEMORY_TO_PERIPH | M2P
|
DMA_DIRECTION_PERIPH_TO_MEMORY | P2M
|
DMA_DIRECTION_PERIPH_TO_PERIPH | P2P
|
DMA_DIRECTION_DEFAULT | Default value is M2M.
|
◆ dma_data_align_t
Module data alignment values.
Enumerator |
---|
DMA_DATA_ALIGN_BYTES_1 | Align data to byte (uint8_t).
|
DMA_DATA_ALIGN_BYTES_2 | Align data to half word (uint16_t).
|
DMA_DATA_ALIGN_BYTES_3 | Align data to 3 bytes (uint24_t).
|
DMA_DATA_ALIGN_BYTES_4 | Align data to word (uint32_t).
|
DMA_DATA_ALIGN_DEFAULT | Default data alignment of byte (uint8_t).
|
◆ dma_mode_t
Module mode values.
Enumerator |
---|
DMA_MODE_NORMAL | Normal mode.
|
DMA_MODE_CIRCULAR | Circular mode.
|
DMA_MODE_DEFAULT | Default mode set to normal.
|
◆ dma_priority_t
Module priority levels.
Enumerator |
---|
DMA_PRIORITY_LOW | Sets priority level to low.
|
DMA_PRIORITY_MEDIUM | Sets priority level to medium.
|
DMA_PRIORITY_HIGH | Sets priority level to high.
|
DMA_PRIORITY_VERY_HIGH | Sets priority level to very high.
|
DMA_PRIORITY_DEFAULT | Default priority level set to medium.
|
◆ dma_burst_size_t
Module burst increment size.
Enumerator |
---|
DMA_BURST_SIZE_INCREMENT_1 | Dma module burst increment size set to 1 byte.
|
DMA_BURST_SIZE_INCREMENT_2 | Dma module burst increment size set to 2 bytes.
|
DMA_BURST_SIZE_INCREMENT_4 | Dma module burst increment size set to 4 bytes.
|
DMA_BURST_SIZE_INCREMENT_8 | Dma module burst increment size set to 8 bytes.
|
DMA_BURST_SIZE_INCREMENT_16 | Dma module burst increment size set to 16 bytes.
|
DMA_BURST_SIZE_INCREMENT_32 | Dma module burst increment size set to 32 bytes.
|
DMA_BURST_SIZE_INCREMENT_DEFAULT | Default burst increment size set to 1 byte.
|