1.25.26.10 XDMACn_ChannelBlockLengthSet Function

C

// n is instance of the peripheral and it is applicable only for devices having multiple instances of the peripheral.
void XDMACn_ChannelBlockLengthSet (XDMAC_CHANNEL channel, uint16_t length);

Summary

Sets the channel Block Length of a specific XDMAC Channel.

Description

This function sets the channel Block Length of the XDMAC channel. The length of the block is (BLEN+1) microblocks. Any ongoing transaction of the specified XDMAC channel will be aborted when this function is called.

Precondition

XDMAC should have been initialized by calling XDMACn_Initialize.

Parameters

Param Description
channel A specific XDMAC channel
length The number of microblocks of data

Returns

None

Example

XDMAC_ChannelBlockLengthSet(XDMAC_CHANNEL_0, 16);

Remarks

None