Jump to main content

##

# 2.133.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.