|
HF Interface Wrapper 0.1.0-dev
Embedded C++ hardware abstraction layer
|
PWM channel status information. More...
#include <EspTypes_PWM.h>
Public Member Functions | |
| hf_pwm_channel_status_t () noexcept | |
Public Attributes | |
| bool | enabled |
| Channel is enabled. | |
| bool | configured |
| Channel is configured. | |
| float | current_duty_cycle |
| Current duty cycle (0.0-1.0) | |
| hf_frequency_hz_t | current_frequency |
| Current frequency. | |
| uint8_t | resolution_bits |
| Current resolution. | |
| uint32_t | raw_duty_value |
| Raw duty cycle value. | |
| bool | fade_active |
| Hardware fade is active. | |
| hf_pwm_err_t | last_error |
| Last error for this channel. | |
PWM channel status information.
|
inlinenoexcept |
| bool hf_pwm_channel_status_t::configured |
Channel is configured.
| float hf_pwm_channel_status_t::current_duty_cycle |
Current duty cycle (0.0-1.0)
| hf_frequency_hz_t hf_pwm_channel_status_t::current_frequency |
Current frequency.
| bool hf_pwm_channel_status_t::enabled |
Channel is enabled.
| bool hf_pwm_channel_status_t::fade_active |
Hardware fade is active.
| hf_pwm_err_t hf_pwm_channel_status_t::last_error |
Last error for this channel.
| uint32_t hf_pwm_channel_status_t::raw_duty_value |
Raw duty cycle value.
| uint8_t hf_pwm_channel_status_t::resolution_bits |
Current resolution.