|
Contiki 2.5
|
Driver for the on board temperature sensor.More...
Go to the source code of this file.
Enumerations | |
| enum | temp_zero_offset_t |
| Type used together with find_temp() to find temperature. | |
Functions | |
| int | temp_init (void) |
| This will initialize the digital IO and adc channel for temperture readings. More... | |
| void | temp_deinit (void) |
| This will disable temperature readings by reseting the initialed flag. More... | |
| int16_t | temp_get (temp_unit_t unit) |
| Read current temperature. More... | |
Variables | |
| bool | temp_initialized = false |
| Flag indicating initialized or not. | |
| uint16_t | ADC2_reading |
| This will turn on the adc channel for reading the temp sensor. More... | |
Driver for the on board temperature sensor.
Definition in file temp.c.
1.8.3.1