|
HF Interface Wrapper 0.1.0-dev
Embedded C++ hardware abstraction layer
|
ESP32C6 LEDC (PWM) controller implementation for the HardFOC system. More...
#include "BasePwm.h"#include "PlatformMutex.h"#include "utils/EspTypes_PWM.h"#include <array>#include <atomic>#include <string>Go to the source code of this file.
Classes | |
| class | EspPwm |
| ESP32 PWM implementation using LEDC peripheral with comprehensive ESP32 variant support. More... | |
| struct | EspPwm::ChannelState |
| Internal channel state with per-channel callback support. More... | |
| struct | EspPwm::TimerState |
| Internal timer state. More... | |
| struct | EspPwm::ComplementaryPair |
| Complementary output pair configuration. More... | |
| struct | EspPwm::ValidationContext |
| Simple validation context for frequency/resolution validation. More... | |
| struct | EspPwm::ValidationResult |
| Comprehensive validation result with detailed information. More... | |
ESP32C6 LEDC (PWM) controller implementation for the HardFOC system.
This header provides a comprehensive PWM implementation for ESP32C6 using the LEDC (LED Controller) peripheral which provides high-resolution PWM generation. The implementation supports multiple channels, configurable frequency and resolution, complementary outputs with deadtime, hardware fade support, and interrupt-driven period callbacks.