Jump to main content

# 3.3.4.5 EMAFE_EnableFilter Function

## C

    void EMAFE_EnableFilter ( uint32_t filterMask );

## Summary

Enables the corresponding low-pass filter.

## Description

Enables the corresponding low-pass filter. filterMask can combine different filters.

## Precondition

None.

## Parameters

Parameters | Description
--- | ---
filterMask | Bit mask to indicate the low-pass filter to be enabled

## Returns

None.

## Example

    /* Init Decimation Filters */
    EMAFE_EnableFilter(EMAFE_MR_LPF_ON2_Msk | EMAFE_MR_LPF_ON4_Msk);

## Remarks

Table 3-7.Low Pass Filter Mask identifiers
Channel | Signal | Low Pass Filter Mask
--- | --- | ---
Channel 0 | Temperature Sensor | EMAFE_MR_LPF_ON0_Msk
Channel 1 | I1 | EMAFE_MR_LPF_ON1_Msk
Channel 2 | V1 | EMAFE_MR_LPF_ON2_Msk
Channel 3 | I2 | EMAFE_MR_LPF_ON3_Msk
Channel 4 | V2 | EMAFE_MR_LPF_ON4_Msk

Rev: E