1.2.6.6 SYS_DMA_DataWidthSetup Function

C

void SYS_DMA_DataWidthSetup(SYS_DMA_CHANNEL channel, SYS_DMA_WIDTH dataWidth);

Summary

Setup data width of selected DMA channel.

Description

This function sets data width of selected DMA channel.

Any ongoing transaction of the specified DMA channel will be aborted when this function is called.

Precondition

DMA Controller should have been initialized.

Parameters

ParamDescription
channelA specific DMA channel
dataWidthData width of DMA transfer of type SYS_DMA_WIDTH

Returns

None.

Example

SYS_DMA_DataWidthSetup(SYS_DMA_CHANNEL_1, SYS_DMA_WIDTH_16_BIT);

Remarks

None.