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
| Param | Description |
|---|---|
| gain | Channel I2 Gain Configuration |
Returns
None.
Example
EMAFE_ADCI2Enable(EMAFE_ADC_ADCI2_CTRL_GAINX1);
Remarks
| Gain value | Description |
|---|---|
| EMAFE_ADC_ADCI2_CTRL_GAINX1 | Input stage of the ADC has a gain of 1. |
| EMAFE_ADC_ADCI2_CTRL_GAINX2 | Input stage of the ADC has a gain of 2. |
| EMAFE_ADC_ADCI2_CTRL_GAINX4 | Input stage of the ADC has a gain of 4. |
| EMAFE_ADC_ADCI2_CTRL_GAINX8 | Input stage of the ADC has a gain of 8. |
