Contiki 3.x
temperature-sensor.h
Go to the documentation of this file.
1 /** @file cpu/stm32w108/hal/micro/temperature-sensor.h
2  * @brief Header for temperature sensor driver
3  *
4  *
5  * <!--(C) COPYRIGHT 2010 STMicroelectronics. All rights reserved. -->
6  */
7 #ifndef TEMP_SENSOR_H_
8 #define TEMP_SENSOR_H_
9 
10 /* Include --------------------------------------------------------------------*/
11 #include "hal/micro/adc.h"
12 /* Define --------------------------------------------------------------------*/
13 
14 /* Typedef -------------------------------------------------------------------*/
15 
16 /* Functions -----------------------------------------------------------------*/
17 
18 /** @brief Temperature Sensor Initialization function
19 */
20 void temperatureSensor_Init(void);
21 
22 /** @brief Get temperature sensor value
23 */
24 uint32_t temperatureSensor_GetValue(void);
25 
26 #endif /*TEMP_SENSOR_H_ */
27 
uint32_t temperatureSensor_GetValue(void)
Get temperature sensor value.
void temperatureSensor_Init(void)
Temperature Sensor Initialization function.
Header for A/D converter.