The STM32 has an internal analog temperature sensor that is connected to the ADC. For more details see the datasheet sections 3.30 Temperature sensor and 6.3.21 Temperature sensor characteristics as well as the reference manual RM0383 section 11.9 Temperature sensor.
Reading the internal sensor should be similar to the RF temperature sensor.