Jump to main content

##

# 2.31.6 DMA_ChannelEnable Function

## C

    void DMA_ChannelEnable ( DMA_CHANNEL channel )

## Summary

The function enables the specified DMA channel.

## Description

The function enables the specified DMA channel. Once enabled, DMA will initiate a block transfer when the selected trigger is received

## Precondition

DMA should have been initialized by calling DMA_Initialize.

## Parameters

Param | Description
--- | ---
channel | The DMA channel that needs to be disabled

## Returns

None.

## Example

    // Enable the channel.
    DMA_ChannelEnable (DMA_CHANNEL_0);

## Remarks

None.