Choco OS  V.0.16.9.0
Join to the chocolate world
(DMA-LLD) DMA Low Level Driver

Direct Memory Access Portable Layer. More...

The driver is for handle DMA operations. It helps to configure it to transfer data between 2 pointers, from peripheral to pointer and from pointer to peripheral. Driver must be turned on before usage by calling function #oC_DMA_LLD_TurnOnDriver and turned off by calling function #oC_DMA_LLD_TurnOffDriver. After power on the driver each DMA channel is set to unused (as available). After configuration of channel it is marked as not available until it will stop data transfer. To check if channel is available use function #oC_DMA_LLD_IsChannelAvailable.
Each DMA channel has assigned its destination. To check if a channel supports configuration use #oC_DMA_LLD_IsSoftwareTradeSupportedOnChannel and #oC_DMA_LLD_IsSoftwareTradeSupportedOnChannel functions. When you do not need a DMA channel anymore, use #oC_DMA_LLD_RestoreDefaultStateOnChannel function to restore default state on it.