Contiki 2.5
board-sensors.h
Go to the documentation of this file.
1 /**
2  * \file
3  * Declarations for sensor-related functions that are
4  * common to all stm32w platforms.
5  *
6  *
7  * \author Salvatore Pitrulli <salvopitru@users.sourceforge.net>
8  */
9 
10 
11 /**
12  * Remember state of sensors (if active or not), in order to
13  * resume their original state after calling powerUpSensors().
14  * Useful when entering in sleep mode, since all system
15  * peripherals have to be reinitialized.
16  */
17 void sensorsPowerDown();
18 
19 /**
20  * Resume the state of all on-board sensors on to the state
21  * that they had when sensorsPowerDown() was called.
22  * Useful when sensors have to be used after the micro was put
23  * in deep sleep mode.
24  */
25 void sensorsPowerUp();