|
HardFOC Flux V1 HAL
Unified HAL API for the HardFOC Flux valve-control platform (ESP32-S3)
|
Facade operation result. More...
#include <flux_hal_types.hpp>
Static Public Member Functions | |
| static constexpr HalResult | Ok () noexcept |
| A success result. | |
| static constexpr HalResult | Err (ManagerError c, uint32_t d=0) noexcept |
| A failure result. | |
Public Attributes | |
| bool | ok |
| true on success | |
| ManagerError | code |
| None on success. | |
| uint32_t | detail |
| Optional manager / driver code (0 if unused) | |
Facade operation result.
ok == true and code == ManagerError::None on success; otherwise code says why and detail may carry the manager's own operation code (for example an hf_valve_err_t) for logs.
|
inlinestaticconstexprnoexcept |
A failure result.
|
inlinestaticconstexprnoexcept |
A success result.
| ManagerError flux::hal::HalResult::code |
None on success.
| uint32_t flux::hal::HalResult::detail |
Optional manager / driver code (0 if unused)
| bool flux::hal::HalResult::ok |
true on success