Cleanup and refactoring of the STM32w port
This is a general cleanup of things like code style issues and code structure of the STM32w port to make it more like the rest of Contiki is structured.
This commit is contained in:
parent
12b3d02ba1
commit
a5046e83c7
118 changed files with 4470 additions and 4281 deletions
27
cpu/stm32w108/hal/micro/temperature-sensor.h
Normal file
27
cpu/stm32w108/hal/micro/temperature-sensor.h
Normal file
|
@ -0,0 +1,27 @@
|
|||
/** @file 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_ */
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue