ENTS-tock
Environmental NeTworked Sensor firmware on Tock OS
Loading...
Searching...
No Matches
power.c File Reference
#include "power.h"
#include "../../proto/transcoder.h"
#include "../communication.h"

Go to the source code of this file.

Functions

ControllerStatus PowerCommandTransaction (const PowerCommand *input, PowerCommand *output)
 
bool ControllerPowerSleep (void)
 
bool ControllerPowerWakeup (void)
 

Function Documentation

◆ ControllerPowerSleep()

bool ControllerPowerSleep ( void  )

Definition at line 40 of file power.c.

References CONTROLLER_SUCCESS, and PowerCommandTransaction().

Referenced by UserConfigStopCallback().

◆ ControllerPowerWakeup()

bool ControllerPowerWakeup ( void  )

Definition at line 54 of file power.c.

References CONTROLLER_SUCCESS, and PowerCommandTransaction().

◆ PowerCommandTransaction()

ControllerStatus PowerCommandTransaction ( const PowerCommand *  input,
PowerCommand *  output 
)