Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
led_info Struct Reference

LED information structure. More...

#include <led.h>

Data Fields

const char * label
 
uint32_t index
 
uint8_t num_colors
 
const uint8_tcolor_mapping
 

Detailed Description

LED information structure.

This structure gathers useful information about LED controller.

Parameters
labelLED label.
num_colorsNumber of colors per LED.
indexIndex of the LED on the controller.
color_mappingMapping of the LED colors.

Field Documentation

◆ color_mapping

const uint8_t* led_info::color_mapping

◆ index

uint32_t led_info::index

◆ label

const char* led_info::label

◆ num_colors

uint8_t led_info::num_colors

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