objc

Data Fields
hw_led_t Struct Reference

LED structure definition for hardware control. More...

#include <runtime-hw/led.h>

Collaboration diagram for hw_led_t:
Collaboration graph
[legend]

Data Fields

uint8_t gpio
 GPIO pin number for the LED.
 
hw_pwm_tpwm
 Optional pointer to a PWM structure for linear control.
 
uint8_t ctx [HW_LED_CTX_SIZE]
 Internal context buffer for LED state.
 

Detailed Description

LED structure definition for hardware control.

This structure represents an LED unit, including its GPIO pin, optional PWM control for brightness, and internal context buffer for maintaining LED state.

Examples:
examples/runtime/led/main.c.

Definition at line 30 of file led.h.


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