We are using STM32L475VG IoT discovery board.
We want to use the ADC1 on the board and get the Analog data input on PA0.
But we are unable to get it going using the HAL code generated using the MX cube software.
What all are the configurations needed to use the ADC?
It will also be helpful if a working example can be provided.
Our environment is visualGDB in visual studio 2017 community edition.