|
void | dma_init (PL230_REGS_s *PL230_REGS, uint32_t base_ptr_address) |
| This function initalizes the dma, waits if there is any current transaction, set dma structure addressm disable all the channels and enables the controller.
|
void | dma_channel_cfg (DMA_REGS_s *DMA_REGS, PL230_REGS_s *PL230_REGS, dma_channel_cfg_t *dma_channel_cfg, uint8_t channel) |
| This function configures the DMA channel with required configuration.
|
void | dma_channel_en_set (PL230_REGS_s *PL230_REGS, uint8_t channel) |
| This function enables a particular dma channel.
|
uint8_t | dma_channel_en_get (PL230_REGS_s *PL230_REGS, uint8_t channel) |
| This function returns status of channel enable of a given channel.
|
void | dma_channel_en_clr (PL230_REGS_s *PL230_REGS, uint8_t channel) |
| This function clear a particular dma channel.
|
void | dma_channel_sw_trig (PL230_REGS_s *PL230_REGS, uint8_t channel) |
| This function generate a SW trigger for a given channel.
|
void | dma_channel_priority_cfg (DMA_REGS_s *DMA_REGS, DMA_ARBITRATION_DMA_RR_EN_E mode, uint16_t round_robin_mask) |
| This function set the dma arbitration.
|
bool | dma_is_idle (PL230_REGS_s *PL230_REGS) |
| This function check if dma fsm is in idle/stalled/done state.
|