|
HF-WS2812 Driver 0.1.0-dev
HF-WS2812 ESP32 RMT Driver
|
Hardware configuration for WS2812 driver on ESP32-C6. More...
#include <cstdint>Go to the source code of this file.
Classes | |
| struct | ws2812_test_config::LedPins |
| LED Strip Pin Configuration for ESP32-C6. More... | |
| struct | ws2812_test_config::RMTConfig |
| RMT Channel Configuration. More... | |
| struct | ws2812_test_config::StripSpecs |
| LED Strip Specifications. More... | |
| struct | ws2812_test_config::SignalTiming |
| WS2812 Signal Timing Parameters (nanoseconds) More... | |
| struct | ws2812_test_config::SupplyVoltage |
| Supply Voltage Specifications (volts) More... | |
| struct | ws2812_test_config::PowerSpecs |
| Current Consumption Estimates. More... | |
| struct | ws2812_test_config::Temperature |
| Temperature Specifications (celsius) More... | |
| struct | ws2812_test_config::Timing |
| Timing Parameters. More... | |
| struct | ws2812_test_config::Diagnostics |
| Diagnostic Thresholds. More... | |
| struct | ws2812_test_config::TestConfig |
| Test Configuration. More... | |
| struct | ws2812_test_config::AppConfig |
| Application-specific Configuration. More... | |
Namespaces | |
| namespace | ws2812_test_config |
Macros | |
| #define | ESP32_WS2812_ENABLE_DETAILED_LOGGING 0 |
| Enable detailed RMT/LED transaction logging. | |
| #define | WS2812_VALIDATE_GPIO(pin) static_assert((pin) >= 0 && (pin) < 30, "Invalid GPIO pin number for ESP32-C6") |
| Hardware configuration validation. | |
Hardware configuration for WS2812 driver on ESP32-C6.
This file contains the actual hardware configuration that is used by the HAL and example applications. Modify these values to match your hardware setup.
| #define ESP32_WS2812_ENABLE_DETAILED_LOGGING 0 |
Enable detailed RMT/LED transaction logging.
When enabled (set to 1), the WS2812 driver will log detailed information about each LED update including:
When disabled (set to 0), only basic error logging is performed.
Default: 0 (disabled) - Set to 1 to enable for debugging
| #define WS2812_VALIDATE_GPIO | ( | pin | ) | static_assert((pin) >= 0 && (pin) < 30, "Invalid GPIO pin number for ESP32-C6") |
Hardware configuration validation.
Compile-time checks to ensure configuration is valid.
Helper macro for compile-time GPIO pin validation