temp.c File Reference

Driver for the on board temperature sensor. More...

#include "key.h"
#include "temp.h"
#include "lcd.h"

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.
void temp_deinit (void)
 This will disable temperature readings by reseting the initialed flag.
int16_t temp_get (temp_unit_t unit)
 This will turn on the adc channel for reading the temp sensor.

Variables

bool temp_initialized = false
 Flag indicating initialized or not.

Detailed Description

Driver for the on board temperature sensor.

Author:
Mike Vidales mavida404@gmail.com

Definition in file temp.c.


Generated on Mon Apr 11 14:23:50 2011 for Contiki 2.5 by  doxygen 1.6.1