PX4 Firmware
PX4 Autopilot Software http://px4.io
LedController::PerPriorityData Struct Reference
Collaboration diagram for LedController::PerPriorityData:

Public Attributes

uint8_t color = 0
 one of led_control_s::COLOR_* More...
 
uint8_t mode = led_control_s::MODE_DISABLED
 one of led_control_s::MODE_* More...
 
uint8_t blink_times_left = 0
 how many times left to blink (MSB bit is used for infinite case). More...
 

Detailed Description

Definition at line 100 of file led.h.

Member Data Documentation

◆ blink_times_left

uint8_t LedController::PerPriorityData::blink_times_left = 0

how many times left to blink (MSB bit is used for infinite case).

This limits the number of complete blink cycles to 64 (if not infinite)

Definition at line 103 of file led.h.

Referenced by LedController::PerLedData::apply_next_state(), LedController::get_control_data(), LedController::PerLedData::set(), and LedController::update().

◆ color

uint8_t LedController::PerPriorityData::color = 0

one of led_control_s::COLOR_*

Definition at line 101 of file led.h.

Referenced by LedController::PerLedData::apply_next_state(), LedController::get_control_data(), and LedController::PerLedData::set().

◆ mode

uint8_t LedController::PerPriorityData::mode = led_control_s::MODE_DISABLED

The documentation for this struct was generated from the following file: