|
HF Interface Wrapper 0.1.0-dev
Embedded C++ hardware abstraction layer
|
PWM capabilities and limitations for ESP32. More...
#include <EspTypes_PWM.h>
Public Member Functions | |
| hf_pwm_capabilities_t () noexcept | |
Public Attributes | |
| uint8_t | num_channels |
| Number of PWM channels (8 for ESP32) | |
| uint8_t | num_timers |
| Number of timer groups (4 for ESP32) | |
| uint8_t | max_resolution_bits |
| Maximum resolution bits (14 for ESP32) | |
| uint32_t | max_frequency_hz |
| Maximum supported frequency. | |
| uint32_t | min_frequency_hz |
| Minimum supported frequency. | |
| bool | supports_fade |
| Hardware fade support. | |
| bool | supports_sleep_retention |
| Sleep retention support. | |
| bool | supports_complementary |
| Complementary outputs (software) | |
| bool | supports_deadtime |
| Deadtime insertion (software) | |
| bool | supports_phase_shift |
| Phase shifting support. | |
| uint8_t | available_clock_sources |
| Number of available clock sources. | |
PWM capabilities and limitations for ESP32.
Static capability information for runtime feature detection.
|
inlinenoexcept |
| uint8_t hf_pwm_capabilities_t::available_clock_sources |
Number of available clock sources.
| uint32_t hf_pwm_capabilities_t::max_frequency_hz |
Maximum supported frequency.
| uint8_t hf_pwm_capabilities_t::max_resolution_bits |
Maximum resolution bits (14 for ESP32)
| uint32_t hf_pwm_capabilities_t::min_frequency_hz |
Minimum supported frequency.
| uint8_t hf_pwm_capabilities_t::num_channels |
Number of PWM channels (8 for ESP32)
| uint8_t hf_pwm_capabilities_t::num_timers |
Number of timer groups (4 for ESP32)
| bool hf_pwm_capabilities_t::supports_complementary |
Complementary outputs (software)
| bool hf_pwm_capabilities_t::supports_deadtime |
Deadtime insertion (software)
| bool hf_pwm_capabilities_t::supports_fade |
Hardware fade support.
| bool hf_pwm_capabilities_t::supports_phase_shift |
Phase shifting support.
| bool hf_pwm_capabilities_t::supports_sleep_retention |
Sleep retention support.