I have STM32L432 Nucleo board. Using CubeMX I have configured the ADC1 IN17 to temperature sensor channel.
How do you read this register using the HAL layer?
I can already poll adc1 IN5 to read an external temperature sensor using a MCP9700A. I would like to compare the external reading with the internal reading.
To get the external sensor I used HAL_ADC_PollForConversion.