3.3.4.6 EMAFE_DisableFilter Function

C

void EMAFE_DisableFilter ( uint32_t filterMask );

Summary

Disables the corresponding low-pass filter.

Description

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

Precondition

None.

Parameters

ParamDescription
filterMaskBit mask to indicate the low-pass filter to be disabled.

Returns

None.

Example


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

Remarks

Table 3-7. Low Pass Filter Mask identifiers
ChannelSignalLow Pass Filter Mask
Channel 0Temperature SensorEMAFE_MR_LPF_ON0_Msk
Channel 1I1EMAFE_MR_LPF_ON1_Msk
Channel 2V1EMAFE_MR_LPF_ON2_Msk
Channel 3I2EMAFE_MR_LPF_ON3_Msk
Channel 4V2EMAFE_MR_LPF_ON4_Msk