2013-03-15 16:14:09 +01:00
|
|
|
/** @file temperature-sensor.h
|
2010-10-25 11:03:38 +02:00
|
|
|
* @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
|
|
|
|
*/
|
2013-03-15 16:14:09 +01:00
|
|
|
uint32_t temperatureSensor_GetValue(void);
|
2010-10-25 11:03:38 +02:00
|
|
|
|
|
|
|
#endif /* _TEMP_SENSOR_H_ */
|
|
|
|
|