|
HF Interface Wrapper 0.1.0-dev
Embedded C++ hardware abstraction layer
|
Internal channel state with per-channel callback support. More...
Public Member Functions | |
| ChannelState () noexcept | |
Public Attributes | |
| bool | configured |
| Channel is configured. | |
| bool | enabled |
| Channel is enabled. | |
| hf_pwm_channel_config_t | config |
| Channel configuration. | |
| hf_u8_t | assigned_timer |
| Assigned timer (0-3) | |
| hf_u32_t | raw_duty_value |
| Current raw duty value. | |
| hf_pwm_err_t | last_error |
| Last error for this channel. | |
| bool | fade_active |
| Hardware fade is active. | |
| bool | needs_reconfiguration |
| Channel needs reconfiguration due to timer change. | |
| hf_pwm_channel_priority_t | priority |
| Channel priority for eviction decisions. | |
| bool | is_critical |
| Mark as critical (never evict) | |
| const char * | description |
| Optional description for debugging. | |
| void(* | fade_callback )(hf_channel_id_t) |
| Per-channel fade completion callback (raw fn ptr for ISR safety) | |
Internal channel state with per-channel callback support.
|
inlinenoexcept |
| hf_u8_t EspPwm::ChannelState::assigned_timer |
Assigned timer (0-3)
| hf_pwm_channel_config_t EspPwm::ChannelState::config |
Channel configuration.
| bool EspPwm::ChannelState::configured |
Channel is configured.
| const char* EspPwm::ChannelState::description |
Optional description for debugging.
| bool EspPwm::ChannelState::enabled |
Channel is enabled.
| bool EspPwm::ChannelState::fade_active |
Hardware fade is active.
| void(* EspPwm::ChannelState::fade_callback) (hf_channel_id_t) |
Per-channel fade completion callback (raw fn ptr for ISR safety)
| bool EspPwm::ChannelState::is_critical |
Mark as critical (never evict)
| hf_pwm_err_t EspPwm::ChannelState::last_error |
Last error for this channel.
| bool EspPwm::ChannelState::needs_reconfiguration |
Channel needs reconfiguration due to timer change.
| hf_pwm_channel_priority_t EspPwm::ChannelState::priority |
Channel priority for eviction decisions.
| hf_u32_t EspPwm::ChannelState::raw_duty_value |
Current raw duty value.