1.9.4.7 DMA_ChannelGetTransferredCount Function

C

uint32_t DMA_ChannelGetTransferredCount( DMA_CHANNEL channel )

Summary

Returns transfer count of the ongoing DMA transfer

Description

Returns transfer count of the ongoing DMA transfer

Precondition

DMA should have been initialized by calling DMA_Initialize.

Parameters

Param Description
channel DMA channel

Returns

None.

Example

uint32_t transfer_cnt;

transfer_cnt = DMA_ChannelGetTransferredCount (DMA_CHANNEL_0);

Remarks

None.