WPILibC++ 2026.2.2
Loading...
Searching...
No Matches
AddressableLEDTypes.h File Reference
#include <hal/Types.h>
#include <stdint.h>

Go to the source code of this file.

Classes

struct  HAL_AddressableLEDData
 structure for holding one LED's color data. More...
 

Macros

#define HAL_kAddressableLEDMaxLength   5460
 max length of LED strip supported by FPGA.
 

Enumerations

enum  HAL_AddressableLEDColorOrder : int32_t {
  HAL_ALED_RGB , HAL_ALED_RBG , HAL_ALED_BGR , HAL_ALED_BRG ,
  HAL_ALED_GBR , HAL_ALED_GRB
}
 Order that color data is sent over the wire. More...
 

Functions

constexpr auto format_as (HAL_AddressableLEDColorOrder order)
 

Macro Definition Documentation

◆ HAL_kAddressableLEDMaxLength

#define HAL_kAddressableLEDMaxLength   5460

max length of LED strip supported by FPGA.

Enumeration Type Documentation

◆ HAL_AddressableLEDColorOrder

Order that color data is sent over the wire.

Enumerator
HAL_ALED_RGB 
HAL_ALED_RBG 
HAL_ALED_BGR 
HAL_ALED_BRG 
HAL_ALED_GBR 
HAL_ALED_GRB 

Function Documentation

◆ format_as()

auto format_as ( HAL_AddressableLEDColorOrder order)
constexpr