The Temperature block shields the tmeas: Temperature measurement module module from the rest of the application. it also implements the callback TMEAS_CB as set in app_sel.h
◆ Temperature_Reset()
void Temperature_Reset |
( |
void |
| ) |
|
◆ Temperature_Measure()
◆ Temperature_Get()
int Temperature_Get |
( |
void |
| ) |
|
- If a temperature measurement is ongoing: waits until the conversion is ready, and returns that last measured value.
- Else: returns the last cached value: either a temperature value, or APP_MSG_TEMPERATURE_PLACEHOLDER_VALUE
- Precondition
- Temperature_Measure has been called at least once.
- Returns
- the last measured temperature. Expressed in deci-celsius.