OLE Developer Guide  Latest Git
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Temperature Sensor

Detailed Description

Reads the temperature sensor(s).

Files

file  temperature.h
 Reads the temperature sensor(s).
 

Enumerations

enum  TemperatureSensor { TEMPERATURE_BOARD_TEMP }
 The different types of temperature sensors. More...
 

Functions

void Temperature_Init ()
 Initialize the temperature module.
 
uint16_t Temperature_GetValue (TemperatureSensor sensor)
 Get the last known value for a sensor. More...
 
void Temperature_Tasks ()
 Perform the periodic tasks.
 

Enumeration Type Documentation

The different types of temperature sensors.

Enumerator
TEMPERATURE_BOARD_TEMP 

The PCB board temp.

Function Documentation

uint16_t Temperature_GetValue ( TemperatureSensor  sensor)

Get the last known value for a sensor.

Parameters
sensorThe sensor to get the value of
Returns
The last known value of the sensor, in 10ths of a degree.

If the value is known this will return 0.