Contiki 2.6
|
00001 /** @file temperature_sensor.h 00002 * @brief Header for temperature sensor driver 00003 * 00004 * 00005 * <!--(C) COPYRIGHT 2010 STMicroelectronics. All rights reserved. --> 00006 */ 00007 #ifndef _TEMP_SENSOR_H_ 00008 #define _TEMP_SENSOR_H_ 00009 00010 /* Include --------------------------------------------------------------------*/ 00011 #include "hal/micro/adc.h" 00012 /* Define --------------------------------------------------------------------*/ 00013 00014 /* Typedef -------------------------------------------------------------------*/ 00015 00016 /* Functions -----------------------------------------------------------------*/ 00017 00018 /** @brief Temperature Sensor Initialization function 00019 */ 00020 void temperatureSensor_Init(void); 00021 00022 /** @brief Get temperature sensor value 00023 */ 00024 int32u temperatureSensor_GetValue(void); 00025 00026 #endif /* _TEMP_SENSOR_H_ */ 00027