Contiki 2.5
|
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(). More... | |
void | sensorsPowerUp () |
Resume the state of all on-board sensors on to the state that they had when sensorsPowerDown() was called. More... | |
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 61 of file board-mb851.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 79 of file board-mb851.c.
References sensorsPowerUp().
Referenced by sensorsPowerUp().