|
mikroSDK Reference Manual
|
Go to the documentation of this file.
153 typedef uint8_t
dma_channel_t[ DMA_NUM_OF_MODULES ][ DMA_NUM_OF_STREAMS_FAMILY ][ DMA_NUM_OF_CHANNELS_FAMILY ];
207 size_t transfer_length;
830 #endif // _DRV_DMA_H_
dma_mode_t
Definition: drv_dma.h:110
Pin and port name type definitions.
err_t dma_set_mode(dma_t *obj, dma_mode_t mode)
Set the DMA mode.
Definition: drv_dma.h:115
Definition: drv_dma.h:100
uint8_t dma_channel_t[DMA_NUM_OF_MODULES][DMA_NUM_OF_STREAMS_FAMILY][DMA_NUM_OF_CHANNELS_FAMILY]
Definition: drv_dma.h:152
Definition: drv_dma.h:140
err_t dma_set_direction(dma_t *obj, dma_direction_t direction)
Set the DMA direction.
dma_priority_t
Definition: drv_dma.h:121
err_t dma_transfer_start(dma_t *obj)
Initializes the DMA transfer.
err_t dma_set_priority(dma_t *obj, dma_priority_t priority)
Set the DMA priority.
dma_direction_t
Definition: drv_dma.h:84
Definition: drv_dma.h:137
void dma_get_channels(dma_channel_t *channels)
Get DMA modules/streams/channels.
Definition: drv_dma.h:123
DMA Configuration Structure prototype.
Definition: drv_dma.h:175
err_t dma_set_transfer_config(dma_t *obj, uint32_t addr_src, uint32_t addr_dst, size_t transfer_size, dma_source_memory_region_t src_mem_type)
Configure the DMA transfer.
void dma_configure_default(dma_config_t *config)
Configure DMA Driver configuration structure.
dma_state_t
Definition: drv_dma.h:65
err_t dma_close(dma_t *obj)
Close DMA Driver object.
err_t dma_transfer_abort(dma_t *obj)
Aborts a DMA transfer.
Definition: drv_dma.h:104
Definition: drv_dma.h:143
dma_err_t
Definition: drv_dma.h:56
Definition: drv_dma.h:126
Definition: drv_dma.h:128
Definition: drv_dma.h:125
Definition: drv_dma.h:101
Definition: drv_dma.h:113
err_t dma_open(dma_t *obj, dma_config_t *config)
Open the DMA Driver object.
dma_source_memory_region_t
Definition: drv_dma.h:74
Definition: drv_dma.h:138
DMA Handle prototype.
Definition: drv_dma.h:228
Definition: drv_dma.h:112
Definition: drv_dma.h:141
dma_burst_size_t
Definition: drv_dma.h:134
int32_t err_t
Definition: hal_target.h:63
Definition: drv_dma.h:139
Definition: drv_dma.h:102
dma_data_align_t
Definition: drv_dma.h:97
err_t dma_transfer_stop(dma_t *obj)
Stops the DMA transfer.
Definition: drv_dma.h:136
Definition: drv_dma.h:124