Tool/software: Code Composer Studio
in the below code, is the sensor sample here referring to the name of the register in the otp or just a variable reference created to get the data from the OTP
// GetTemperatureC - This function uses the reference data stored in OTP to
// convert the raw temperature sensor reading into degrees C
//
int16 GetTemperatureC(int16 sensorSample)
{
sensorSample = (int16)((tempSensor_scaleFactor/2.5)*(sensorSample));
return (((sensorSample - tempSensor_tempOffset)*tempSensor_tempSlope +
FP_ROUND + KELVIN_OFF)/FP_SCALE - KELVIN);
}