2014-06-19 12:28:13 +00:00
|
|
|
/** @file cpu/stm32w108/hal/micro/temperature-sensor.h
|
|
|
|
* @brief Header for temperature sensor driver
|
2010-10-25 09:03:38 +00:00
|
|
|
*
|
|
|
|
*
|
|
|
|
* <!--(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 -----------------------------------------------------------------*/
|
|
|
|
|
2014-06-19 12:28:13 +00:00
|
|
|
/** @brief Temperature Sensor Initialization function
|
2010-10-25 09:03:38 +00:00
|
|
|
*/
|
|
|
|
void temperatureSensor_Init(void);
|
|
|
|
|
2014-06-19 12:28:13 +00:00
|
|
|
/** @brief Get temperature sensor value
|
2010-10-25 09:03:38 +00:00
|
|
|
*/
|
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
|
|
|
|