1.3.8.7 DMAC_ChannelGetTransferredCount Function

C

uint16_t DMAC_ChannelGetTransferredCount( DMAC_CHANNEL channel )

Summary

Returns transfer count of the ongoing DMAC transfer

Description

Returns transfer count of the ongoing DMAC transfer

Precondition

DMAC should have been initialized by calling DMAC_Initialize.

Parameters

Param Description
channel DMAC channel

Returns

None.

Example

uint16_t transfer_cnt;

transfer_cnt = DMAC_ChannelGetTransferredCount (DMAC_CHANNEL_0);

Remarks

None.