2.120.10 TSENS_ConversionStatusGet Function
C
bool TSENS_ConversionStatusGet(void);
Summary
Returns the status of the temperature measurement
Description
This function checks whether temperature measurement is complete.
Precondition
TSENS_Initialize() function must have been called first for the associated instance
Parameters
NoneReturns
true - temperature measurement is complete and result is available
false - temperature measurement is not complete or not started
Example
bool status = false; TSENS_Initialize(); TSENS_Enable(); TSENS_ConversionStart(); status = TSENS_ConversionStatusGet();
Remarks
This function is used to poll the conversion status. This should be called after conversion is started.