I want to use the ADC module of MPC5744P.
The reult from the ADC channel has been got, as the following code:
Result = ADC_1.CDR.B.CDATA; //Read ADC1_AN6 conversion result data
I want to convert the Result into the result with mV unit.
How to convert that?
I saw some example, the convertion is as follows:
ResultInMv = (uint16_t) (ADC_VREF*Result/0xFFF); /* Conversion in mv */
Is it correct?