3.3.5.4 DMAC_ChannelTransfer

Returns the DMA channel's transfer status

Returns the DMA channel's transfer status

DMAC_TRANSFER_EVENT 
DMAC_ChannelTransferStatusGet
(
    DMAC_CHANNEL channel, 
    const void *srcAddr, 
    const void *destAddr, 
    size_t blockSize
);

Precondition

  • DMAC should have been initialized by calling the DMAC_Initialize.

Parameters

  • DMAC_CHANNEL channel - dma channel
  • srcAddr - source address of transfer
  • destAddr - destination address of transfer
  • blockSize - block size of the transfer

Returns

  • DMAC_TRANSFER_EVENT - indicating the status of the DMA transfer