There are two ADCs. One is used by CircleOS to measure the battery voltage and the temperature. You could use the other (see the STM32 libraries if you need some code examples).
You could also use the same ADC as CircleOS but, in this case, you should restore the original state when exiting from your application.