mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 16:29:34 +00:00
28 lines
801 B
C
28 lines
801 B
C
/** @file cpu/stm32w108/hal/micro/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
|
|
*/
|
|
uint32_t temperatureSensor_GetValue(void);
|
|
|
|
#endif /*TEMP_SENSOR_H_ */
|
|
|