2013-03-15 15:14:09 +00:00
|
|
|
/** @file temperature-sensor.h
|
2010-10-25 09:03:38 +00:00
|
|
|
* @brief Header for temperature sensor driver
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* <!--(C) COPYRIGHT 2010 STMicroelectronics. All rights reserved. -->
|
|
|
|
*/
|
2013-11-24 15:57:08 +00:00
|
|
|
#ifndef TEMP_SENSOR_H_
|
|
|
|
#define TEMP_SENSOR_H_
|
2010-10-25 09:03:38 +00:00
|
|
|
|
|
|
|
/* 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 15:14:09 +00:00
|
|
|
uint32_t temperatureSensor_GetValue(void);
|
2010-10-25 09:03:38 +00:00
|
|
|
|
2013-11-24 15:57:08 +00:00
|
|
|
#endif /*TEMP_SENSOR_H_ */
|
2010-10-25 09:03:38 +00:00
|
|
|
|