3.3.4.31 EMAFE_ADCI1Enable Function

C

void EMAFE_ADCI1Enable(uint8_t gain);

Summary

Enable ADC I1.

Description

Enable ADC I1.

Precondition

None.

Parameters

ParamDescription
gainChannel I1 Gain Configuration

Returns

None.

Example


EMAFE_ADCI1Enable(EMAFE_ADC_ADCI1_CTRL_GAINX1);

Remarks

Gain valueDescription
EMAFE_ADC_ADCI1_CTRL_GAINX1Input stage of the ADC has a gain of 1.
EMAFE_ADC_ADCI1_CTRL_GAINX2Input stage of the ADC has a gain of 2.
EMAFE_ADC_ADCI1_CTRL_GAINX4Input stage of the ADC has a gain of 4.
EMAFE_ADC_ADCI1_CTRL_GAINX8Input stage of the ADC has a gain of 8.