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

Go to the source code of this file.

Classes

struct  battery_status_s
 

Macros

#define BATTERY_STATUS_BATTERY_WARNING_NONE   0
 
#define BATTERY_STATUS_BATTERY_WARNING_LOW   1
 
#define BATTERY_STATUS_BATTERY_WARNING_CRITICAL   2
 
#define BATTERY_STATUS_BATTERY_WARNING_EMERGENCY   3
 
#define BATTERY_STATUS_BATTERY_WARNING_FAILED   4
 

Functions

 ORB_DECLARE (battery_status)
 

Macro Definition Documentation

◆ BATTERY_STATUS_BATTERY_WARNING_CRITICAL

#define BATTERY_STATUS_BATTERY_WARNING_CRITICAL   2

Definition at line 46 of file battery_status.h.

◆ BATTERY_STATUS_BATTERY_WARNING_EMERGENCY

#define BATTERY_STATUS_BATTERY_WARNING_EMERGENCY   3

Definition at line 47 of file battery_status.h.

◆ BATTERY_STATUS_BATTERY_WARNING_FAILED

#define BATTERY_STATUS_BATTERY_WARNING_FAILED   4

Definition at line 48 of file battery_status.h.

◆ BATTERY_STATUS_BATTERY_WARNING_LOW

#define BATTERY_STATUS_BATTERY_WARNING_LOW   1

Definition at line 45 of file battery_status.h.

◆ BATTERY_STATUS_BATTERY_WARNING_NONE

#define BATTERY_STATUS_BATTERY_WARNING_NONE   0

Definition at line 44 of file battery_status.h.

Function Documentation

◆ ORB_DECLARE()

ORB_DECLARE ( battery_status  )