zephyr/doc/releases
Fabio Baltieri 6342eff58b led: add a struct led_dt_spec and some _dt wrapper APIs
Add a struct led_dt_spec to hold an LED device and index pointer, some
initializer and wrapper APIs.

This allows simpler LED usage, such as:

static const struct led_dt_spec led = LED_DT_SPEC_GET(DT_NODELABEL(led0));
led_on_dt(&led);
led_off_dt(&led);

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2024-11-16 13:36:27 -05:00
..
eol_releases.rst doc: releases: rework linkage to old release notes/migration guides 2024-11-06 14:41:25 -06:00
index.rst doc: release: Add v4.0.0 to the list of supported releases 2024-11-15 17:27:32 -06:00
migration-guide-3.5.rst
migration-guide-3.6.rst doc: release 3.6: no CACHE_MANAGEMENT by default on stm32h7/f7 2024-08-01 12:37:14 +02:00
migration-guide-3.7.rst doc: release: Finalize v3.7.0 release notes and migration guide 2024-07-26 13:17:55 +02:00
migration-guide-4.0.rst doc: release: Finalize v3.7.0 release notes and migration guide 2024-11-15 17:27:32 -06:00
migration-guide-4.1.rst doc: releases: introduce release notes and migration guide docs for 4.1 2024-11-06 14:41:25 -06:00
release-notes-1.5.rst
release-notes-1.6.rst
release-notes-1.7.rst doc: samples: Adopt code-sample-category across tree 2024-09-23 12:00:00 +02:00
release-notes-1.8.rst
release-notes-1.9.rst
release-notes-1.10.rst
release-notes-1.11.rst
release-notes-1.12.rst
release-notes-1.13.rst
release-notes-1.14.rst everywhere: replace double words 2024-06-25 06:05:35 -04:00
release-notes-2.0.rst
release-notes-2.1.rst
release-notes-2.2.rst
release-notes-2.3.rst
release-notes-2.4.rst
release-notes-2.5.rst
release-notes-2.6.rst
release-notes-2.7.rst
release-notes-3.0.rst
release-notes-3.1.rst everywhere: replace double words 2024-06-25 06:05:35 -04:00
release-notes-3.2.rst
release-notes-3.3.rst everywhere: replace double words 2024-06-25 06:05:35 -04:00
release-notes-3.4.rst doc: release: 3.4: Use double backticks 2024-10-08 17:00:46 +02:00
release-notes-3.5.rst doc: fixed :c:enum: used in lieu of :c:enumerator: 2024-08-01 09:14:38 +01:00
release-notes-3.6.rst doc: fixed :c:enum: used in lieu of :c:enumerator: 2024-08-01 09:14:38 +01:00
release-notes-3.7.rst boards: ct: adopt new zephyr:board directive and role 2024-10-24 17:51:15 +02:00
release-notes-4.0.rst doc: release: Finalize v3.7.0 release notes and migration guide 2024-11-15 17:27:32 -06:00
release-notes-4.1.rst led: add a struct led_dt_spec and some _dt wrapper APIs 2024-11-16 13:36:27 -05:00