Internal Interface Wrap
API reference
Loading...
Searching...
No Matches
Variables
EspPwm.cpp File Reference

Implementation of ESP32 family LEDC (PWM) controller for the HardFOC system. More...

#include "EspPwm.h"
#include <algorithm>
#include <cstring>
#include <vector>
Include dependency graph for EspPwm.cpp:

Variables

static const char * TAG = "EspPwm"
 

Detailed Description

Implementation of ESP32 family LEDC (PWM) controller for the HardFOC system.

This file provides the complete implementation for PWM generation using the ESP32 family's built-in LEDC (LED Controller) peripheral. The implementation is designed to work across all ESP32 variants with automatic adaptation to variant-specific capabilities and constraints.

Key Implementation Features:

LEDC Hardware Abstraction:

All platform-specific types and ESP-IDF dependencies are isolated through EspTypes_PWM.h, providing a clean abstraction layer that can be easily ported or tested.

Author
Nebiyu Tadesse
Date
2025
See also
EspPwm.h for comprehensive API documentation
EspTypes_PWM.h for type definitions and LEDC peripheral details

Variable Documentation

◆ TAG

const char* TAG = "EspPwm"
static