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

Go to the source code of this file.

Classes

struct  led_control_s
 

Macros

#define LED_CONTROL_COLOR_OFF   0
 
#define LED_CONTROL_COLOR_RED   1
 
#define LED_CONTROL_COLOR_GREEN   2
 
#define LED_CONTROL_COLOR_BLUE   3
 
#define LED_CONTROL_COLOR_YELLOW   4
 
#define LED_CONTROL_COLOR_PURPLE   5
 
#define LED_CONTROL_COLOR_AMBER   6
 
#define LED_CONTROL_COLOR_CYAN   7
 
#define LED_CONTROL_COLOR_WHITE   8
 
#define LED_CONTROL_MODE_OFF   0
 
#define LED_CONTROL_MODE_ON   1
 
#define LED_CONTROL_MODE_DISABLED   2
 
#define LED_CONTROL_MODE_BLINK_SLOW   3
 
#define LED_CONTROL_MODE_BLINK_NORMAL   4
 
#define LED_CONTROL_MODE_BLINK_FAST   5
 
#define LED_CONTROL_MODE_BREATHE   6
 
#define LED_CONTROL_MODE_FLASH   7
 
#define LED_CONTROL_MAX_PRIORITY   2
 
#define LED_CONTROL_ORB_QUEUE_LENGTH   4
 

Functions

 ORB_DECLARE (led_control)
 

Macro Definition Documentation

◆ LED_CONTROL_COLOR_AMBER

#define LED_CONTROL_COLOR_AMBER   6

Definition at line 50 of file led_control.h.

◆ LED_CONTROL_COLOR_BLUE

#define LED_CONTROL_COLOR_BLUE   3

Definition at line 47 of file led_control.h.

◆ LED_CONTROL_COLOR_CYAN

#define LED_CONTROL_COLOR_CYAN   7

Definition at line 51 of file led_control.h.

◆ LED_CONTROL_COLOR_GREEN

#define LED_CONTROL_COLOR_GREEN   2

Definition at line 46 of file led_control.h.

◆ LED_CONTROL_COLOR_OFF

#define LED_CONTROL_COLOR_OFF   0

Definition at line 44 of file led_control.h.

◆ LED_CONTROL_COLOR_PURPLE

#define LED_CONTROL_COLOR_PURPLE   5

Definition at line 49 of file led_control.h.

◆ LED_CONTROL_COLOR_RED

#define LED_CONTROL_COLOR_RED   1

Definition at line 45 of file led_control.h.

◆ LED_CONTROL_COLOR_WHITE

#define LED_CONTROL_COLOR_WHITE   8

Definition at line 52 of file led_control.h.

◆ LED_CONTROL_COLOR_YELLOW

#define LED_CONTROL_COLOR_YELLOW   4

Definition at line 48 of file led_control.h.

◆ LED_CONTROL_MAX_PRIORITY

#define LED_CONTROL_MAX_PRIORITY   2

Definition at line 61 of file led_control.h.

◆ LED_CONTROL_MODE_BLINK_FAST

#define LED_CONTROL_MODE_BLINK_FAST   5

Definition at line 58 of file led_control.h.

◆ LED_CONTROL_MODE_BLINK_NORMAL

#define LED_CONTROL_MODE_BLINK_NORMAL   4

Definition at line 57 of file led_control.h.

◆ LED_CONTROL_MODE_BLINK_SLOW

#define LED_CONTROL_MODE_BLINK_SLOW   3

Definition at line 56 of file led_control.h.

◆ LED_CONTROL_MODE_BREATHE

#define LED_CONTROL_MODE_BREATHE   6

Definition at line 59 of file led_control.h.

◆ LED_CONTROL_MODE_DISABLED

#define LED_CONTROL_MODE_DISABLED   2

Definition at line 55 of file led_control.h.

◆ LED_CONTROL_MODE_FLASH

#define LED_CONTROL_MODE_FLASH   7

Definition at line 60 of file led_control.h.

◆ LED_CONTROL_MODE_OFF

#define LED_CONTROL_MODE_OFF   0

Definition at line 53 of file led_control.h.

◆ LED_CONTROL_MODE_ON

#define LED_CONTROL_MODE_ON   1

Definition at line 54 of file led_control.h.

◆ LED_CONTROL_ORB_QUEUE_LENGTH

#define LED_CONTROL_ORB_QUEUE_LENGTH   4

Definition at line 62 of file led_control.h.

Function Documentation

◆ ORB_DECLARE()

ORB_DECLARE ( led_control  )