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
| Parameters | Description |
|---|---|
| gain | Channel I1 Gain Configuration |
Returns
None.
Example
EMAFE_ADCI1Enable(EMAFE_ADC_ADCI1_CTRL_GAINX1);
Remarks
| Gain Value | Description |
|---|---|
| EMAFE_ADC_ADCI1_CTRL_GAINX1 | Input stage of the ADC has a gain of 1 |
| EMAFE_ADC_ADCI1_CTRL_GAINX2 | Input stage of the ADC has a gain of 2 |
| EMAFE_ADC_ADCI1_CTRL_GAINX4 | Input stage of the ADC has a gain of 4 |
| EMAFE_ADC_ADCI1_CTRL_GAINX8 | Input stage of the ADC has a gain of 8 |
