3.3.4.37 EMAFE_ADCI2Enable Function

C

void EMAFE_ADCI2Enable(uint8_t gain);

Summary

Enable ADC I2.

Description

Enable ADC I2.

Precondition

None.

Parameters

ParamDescription
gainChannel I2 Gain Configuration

Returns

None.

Example


EMAFE_ADCI2Enable(EMAFE_ADC_ADCI2_CTRL_GAINX1);

Remarks

Gain valueDescription
EMAFE_ADC_ADCI2_CTRL_GAINX1Input stage of the ADC has a gain of 1.
EMAFE_ADC_ADCI2_CTRL_GAINX2Input stage of the ADC has a gain of 2.
EMAFE_ADC_ADCI2_CTRL_GAINX4Input stage of the ADC has a gain of 4.
EMAFE_ADC_ADCI2_CTRL_GAINX8Input stage of the ADC has a gain of 8.