Part Number: LP-MSPM0G3507
Tool/software:
Hello.
Could you please tell me about the temperature sensor?
I was checking the SDK sample program at the URL below and found a part where the comments and the program did not match.
/*
* Convert TEMP_SENSE0 result to equivalent voltage:
* Vtrim = (ADC_VREF_VOLTAGE*(TEMP_SENSE0 -0.5))/(2^12)
*/
qVTrim = _IQ15div(_IQ15mpy((_IQ15(DL_SYSCTL_getTempCalibrationConstant()) -
_IQ15(0.5)), _IQ15(ADC_VREF_VOLTAGE)), ((uint32_t)(1) << 27));
- Is 1<<27 correct?