Contiki 2.6
|
Declarations for sensor-related functions that are common to all stm32w platforms. More...
Go to the source code of this file.
Functions | |
void | sensorsPowerDown () |
Remember state of sensors (if active or not), in order to resume their original state after calling powerUpSensors(). | |
void | sensorsPowerUp () |
Resume the state of all on-board sensors on to the state that they had when sensorsPowerDown() was called. |
Declarations for sensor-related functions that are common to all stm32w platforms.
Definition in file board-sensors.h.
void sensorsPowerDown | ( | ) |
Remember state of sensors (if active or not), in order to resume their original state after calling powerUpSensors().
Useful when entering in sleep mode, since all system peripherals have to be reinitialized.
Definition at line 21 of file board-mbxxx.c.
References sensorsPowerDown().
Referenced by sensorsPowerDown().
void sensorsPowerUp | ( | ) |
Resume the state of all on-board sensors on to the state that they had when sensorsPowerDown() was called.
Useful when sensors have to be used after the micro was put in deep sleep mode.
Definition at line 39 of file board-mbxxx.c.
References sensorsPowerUp().
Referenced by sensorsPowerUp().