Jump to main content

# 3.3.4.8 EMAFE_DisableDMAChannel Function

## C

    void EMAFE_DisableDMAChannel ( uint32_t channelMask );

## Summary

Disables the corresponding DMA channel. Only supported if DMA is enabled in EMAFE component of the MCC configuration.

## Description

Disables the corresponding low-pass filter. channelMask can combine different channels.

## Precondition

None.

## Parameters

Parameters | Description
--- | ---
channelMask | Bit mask to indicate the channels to be disabled

## Returns

None.

## Example

    /* Stop DMA */
    EMAFE_DisableDMAChannel(EMAFE_MR_DMACH2_Msk | EMAFE_MR_DMACH4_Msk);

## Remarks

Table 3-10.DMA Channel Mask
Channel | Signal | DMA Channel Mask
--- | --- | ---
Channel 0 | Temperature Sensor | EMAFE_MR_DMACH0_Msk
Channel 1 | I1 | EMAFE_MR_DMACH1_Msk
Channel 2 | V1 | EMAFE_MR_DMACH2_Msk
Channel 3 | I2 | EMAFE_MR_DMACH3_Msk
Channel 4 | V2 | EMAFE_MR_DMACH4_Msk

Rev: E