How do the conversion to degrees Celsius after I read the adc this:
HalAdcRead tempSample = uint16 (HAL_ADC_CHN_TEMP, HAL_ADC_RESOLUTION_12);
or rather what the relationship should I do to get the value in degrees Celsius from this tempSample adc reading?