|
HF Interface Wrapper 0.1.0-dev
Embedded C++ hardware abstraction layer
|
Comprehensive validation result with detailed information. More...
Public Member Functions | |
| ValidationResult () noexcept | |
Public Attributes | |
| bool | is_valid |
| Overall validation result. | |
| hf_pwm_err_t | error_code |
| Specific error code if invalid. | |
| const char * | reason |
| Human-readable reason for failure. | |
| hf_u8_t | max_achievable_resolution |
| Maximum resolution for this frequency. | |
| hf_u32_t | max_achievable_frequency |
| Maximum frequency for this resolution. | |
| uint64_t | required_clock_hz |
| Required timer clock frequency. | |
| uint64_t | available_clock_hz |
| Available source clock frequency. | |
Comprehensive validation result with detailed information.
|
inlinenoexcept |
| uint64_t EspPwm::ValidationResult::available_clock_hz |
Available source clock frequency.
| hf_pwm_err_t EspPwm::ValidationResult::error_code |
Specific error code if invalid.
| bool EspPwm::ValidationResult::is_valid |
Overall validation result.
| hf_u32_t EspPwm::ValidationResult::max_achievable_frequency |
Maximum frequency for this resolution.
| hf_u8_t EspPwm::ValidationResult::max_achievable_resolution |
Maximum resolution for this frequency.
| const char* EspPwm::ValidationResult::reason |
Human-readable reason for failure.
| uint64_t EspPwm::ValidationResult::required_clock_hz |
Required timer clock frequency.