2010-10-25 09:03:38 +00:00
|
|
|
/** @file temperature_sensor.h
|
|
|
|
* @brief Header for temperature sensor driver
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* <!--(C) COPYRIGHT 2010 STMicroelectronics. All rights reserved. -->
|
|
|
|
*/
|
|
|
|
#ifndef _TEMP_SENSOR_H_
|
|
|
|
#define _TEMP_SENSOR_H_
|
|
|
|
|
|
|
|
/* Include --------------------------------------------------------------------*/
|
|
|
|
#include "hal/micro/adc.h"
|
|
|
|
/* Define --------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
/* Typedef -------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
/* Functions -----------------------------------------------------------------*/
|
|
|
|
|
|
|
|
/** @brief Temperature Sensor Initialization function
|
|
|
|
*/
|
|
|
|
void temperatureSensor_Init(void);
|
|
|
|
|
|
|
|
/** @brief Get temperature sensor value
|
|
|
|
*/
|
2011-03-21 12:11:52 +00:00
|
|
|
int32u temperatureSensor_GetValue(void);
|
2010-10-25 09:03:38 +00:00
|
|
|
|
|
|
|
#endif /* _TEMP_SENSOR_H_ */
|
|
|
|
|