Contiki 2.6

board-sensors.h

Go to the documentation of this file.
00001 /**
00002  * \file
00003  *         Declarations for sensor-related functions that are
00004  *         common to all stm32w platforms.
00005  *
00006  *
00007  * \author Salvatore Pitrulli <salvopitru@users.sourceforge.net>
00008  */
00009 
00010 
00011 /**
00012  * Remember state of sensors (if active or not), in order to
00013  * resume their original state after calling powerUpSensors().
00014  * Useful when entering in sleep mode, since all system
00015  * peripherals have to be reinitialized.
00016  */
00017 void sensorsPowerDown();
00018 
00019 /**
00020  * Resume the state of all on-board sensors on to the state
00021  * that they had when sensorsPowerDown() was called.
00022  * Useful when sensors have to be used after the micro was put
00023  * in deep sleep mode.
00024  */
00025 void sensorsPowerUp();