LED structure definition for hardware control. More...
#include <runtime-hw/led.h>
Data Fields | |
uint8_t | gpio |
GPIO pin number for the LED. | |
hw_pwm_t * | pwm |
Optional pointer to a PWM structure for linear control. | |
uint8_t | ctx [HW_LED_CTX_SIZE] |
Internal context buffer for LED state. | |
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.