I try to get data from ADC, but I can't get data corresponding to Vbat, Apparently Adc_ReadFifoData doesn´t load gAdcBatt_c in the struct correctly, appears as gAdcChan0_c. I'm working with IAR Workbench.
Can anyone tell me if there are any trouble with this function related to battery ADC channel?
Thanks in advance.