Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
led_dt_spec Struct Reference

Container for an LED information specified in devicetree. More...

#include <led.h>

Data Fields

const struct devicedev
 LED device instance.
 
uint32_t index
 Index of the LED on the controller.
 

Detailed Description

Container for an LED information specified in devicetree.

This type contains a pointer to and LED device and an LED index.

See also
LED_DT_SPEC_GET
LED_DT_SPEC_GET_OR

Field Documentation

◆ dev

const struct device* led_dt_spec::dev

LED device instance.

◆ index

uint32_t led_dt_spec::index

Index of the LED on the controller.


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