Simple ADC example - ADuCM350

Hello,

I am working with the ADuCM350 and I like to create a battery level measurement feature by reading the voltage via the ADC that is connected to the AN_C pin. However, the examples are very complicated for ADC reading and I don't think I have to set so many parameters.

Could you provide an example code for ADC voltage reading please ?

Thanks in advance.

Best,

Jimmy