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. -->
|
|
|
|
*/
|
2013-11-24 16:57:08 +01:00
|
|
|
#ifndef TEMP_SENSOR_H_
|
|
|
|
#define TEMP_SENSOR_H_
|
2010-10-25 11:03:38 +02: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 16:14:09 +01:00
|
|
|
uint32_t temperatureSensor_GetValue(void);
|
2010-10-25 11:03:38 +02:00
|
|
|
|
2013-11-24 16:57:08 +01:00
|
|
|
#endif /*TEMP_SENSOR_H_ */
|
2010-10-25 11:03:38 +02:00
|
|
|
|