Zephyr API Documentation 4.0.0-rc2
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
led_info Struct Reference

LED information structure. More...

#include <led.h>

Data Fields

const char * label
 LED label.
 
uint32_t index
 Index of the LED on the controller.
 
uint8_t num_colors
 Number of colors per LED.
 
const uint8_tcolor_mapping
 Mapping of the LED colors.
 

Detailed Description

LED information structure.

This structure gathers useful information about LED controller.

Field Documentation

◆ color_mapping

const uint8_t* led_info::color_mapping

Mapping of the LED colors.

◆ index

uint32_t led_info::index

Index of the LED on the controller.

◆ label

const char* led_info::label

LED label.

◆ num_colors

uint8_t led_info::num_colors

Number of colors per LED.


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