The temperature sensor has to generate a voltage that varies linearly with temperature. The conversion range is between 2 V < VDDA < 3.6 V. The temperature sensor is internally connected to the ADC1_IN16 input channel which is used to convert the sensor output voltage into a digital value.
This looks like an internal connection rather than being shared with an external pin. Other than maybe having a good external analog reference there doesn't seem to be any special hardware needs to implement this.
From the datasheet:
This looks like an internal connection rather than being shared with an external pin. Other than maybe having a good external analog reference there doesn't seem to be any special hardware needs to implement this.