PX4 Firmware
PX4 Autopilot Software http://px4.io
power_button_state.h File Reference
#include <uORB/uORB.h>
Include dependency graph for power_button_state.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  power_button_state_s
 

Macros

#define POWER_BUTTON_STATE_PWR_BUTTON_STATE_IDEL   0
 
#define POWER_BUTTON_STATE_PWR_BUTTON_STATE_DOWN   1
 
#define POWER_BUTTON_STATE_PWR_BUTTON_STATE_UP   2
 
#define POWER_BUTTON_STATE_PWR_BUTTON_STATE_REQUEST_SHUTDOWN   3
 

Functions

 ORB_DECLARE (power_button_state)
 

Macro Definition Documentation

◆ POWER_BUTTON_STATE_PWR_BUTTON_STATE_DOWN

#define POWER_BUTTON_STATE_PWR_BUTTON_STATE_DOWN   1

Definition at line 45 of file power_button_state.h.

◆ POWER_BUTTON_STATE_PWR_BUTTON_STATE_IDEL

#define POWER_BUTTON_STATE_PWR_BUTTON_STATE_IDEL   0

Definition at line 44 of file power_button_state.h.

◆ POWER_BUTTON_STATE_PWR_BUTTON_STATE_REQUEST_SHUTDOWN

#define POWER_BUTTON_STATE_PWR_BUTTON_STATE_REQUEST_SHUTDOWN   3

Definition at line 47 of file power_button_state.h.

◆ POWER_BUTTON_STATE_PWR_BUTTON_STATE_UP

#define POWER_BUTTON_STATE_PWR_BUTTON_STATE_UP   2

Definition at line 46 of file power_button_state.h.

Function Documentation

◆ ORB_DECLARE()

ORB_DECLARE ( power_button_state  )