Board Support
Version 1.0
Functions available when using the Board Software Components
|
Thermometer Interface: connects to a temperature sensor. More...
Macros | |
#define | TEMPERATURE_INVALID INT32_MIN |
Functions | |
int32_t | Thermometer_Initialize (void) |
Initialize thermometer. More... | |
int32_t | Thermometer_Uninitialize (void) |
De-initialize thermometer. More... | |
int32_t | Thermometer_GetTemperature (void) |
Get last temperature measurement. More... | |
Thermometer Interface: connects to a temperature sensor.
The Thermometer Interface functions connect to a temperature sensor on an evaluation board that is used to determine temperature.
#define TEMPERATURE_INVALID INT32_MIN |
Defines invalid temperature.
int32_t Thermometer_GetTemperature | ( | void | ) |
Get last temperature measurement.
The function reads the temperature of the thermometer and returns it as a degree Celsius value.
int32_t Thermometer_Initialize | ( | void | ) |
Initialize thermometer.
The function initializes the thermometer controller. The function returns an integer value of 0 on success, and -1 on error.
int32_t Thermometer_Uninitialize | ( | void | ) |
De-initialize thermometer.
The function de-initializes the thermometer controller. The function returns an integer value of 0 on success, and -1 on error.