Jump to main content

# 3.3.4.16 EMAFE_SetClockPrescalerRatio Function

## C

    void EMAFE_SetClockPrescalerRatio ( uint32_t mclkdiv );

## Summary

Set the clock prescaler ratio in the low-pass filter.

## Description

Set the clock prescaler ratio in the low-pass filter.

## Precondition

None.

## Parameters

Parameters | Description
--- | ---
mclkdiv | Low-pass filter Clock Prescaler Ratio

## Returns

None.

## Example

    EMAFE_SetClockPrescalerRatio(EMAFE_EMR_MCLKDIV_LPF_MCLKDIV4_Val);

## Remarks

Table 3-13.Clock Prescaler Ratio Values
Format Value | Description
--- | ---
EMAFE_EMR_MCLKDIV_LPF_MCLK_Val | LPFIF clock is MCLK/1
EMAFE_EMR_MCLKDIV_LPF_MCLKDIV2_Val | LPFIF clock is MCLK/2
EMAFE_EMR_MCLKDIV_LPF_MCLKDIV4_Val | LPFIF clock is MCLK/4
EMAFE_EMR_MCLKDIV_LPF_MCLKDIV8_Val | LPFIF clock is MCLK/8 (default)
EMAFE_EMR_MCLKDIV_LPF_MCLKDIV16_Val | LPFIF clock is MCLK/16
EMAFE_EMR_MCLKDIV_LPF_MCLKDIV32_Val | LPFIF clock is MCLK/32

Rev: E