1.25.26.7 1.26.23.7 1.27.28.7 1.28.28.7 1.34.29.7 1.41.24.7 1.42.23.7 XDMACn_ChannelDisable Function

C

// n is instance of the peripheral and it is applicable only for devices having multiple instances of the peripheral.
void XDMACn_ChannelDisable (XDMAC_CHANNEL channel)

Summary

Disables the specified channel.

Description

This function disables the specified channel and resets it. Ongoing transfer will be aborted.

Precondition

XDMAC should have been initialized by calling XDMACn_Initialize. And transfer should have been initiated.

Parameters

Param Description
channel A specific XDMAC channel

Returns

None.

Example

XDMAC_ChannelDisable(XDMAC_CHANNEL_1);

Remarks

None.