Both valve banks, as one hardware-gated actuator group.
More...
#include <flux_hal_valve.hpp>
|
| static HalResult | EnablePins (bool on) noexcept |
| | Drop (false) or re-arm (true) both valve-bank enable pins.
|
| |
| static bool | EnablePinsHigh () noexcept |
| | Both enable pins are driven high (banks may be energised by channel commands).
|
| |
| static bool | IsHeldOff () noexcept |
| | The pins were dropped and not re-armed since.
|
| |
Both valve banks, as one hardware-gated actuator group.
◆ EnablePins()
| HalResult flux::hal::ValveBank::EnablePins |
( |
bool |
on | ) |
|
|
staticnoexcept |
Drop (false) or re-arm (true) both valve-bank enable pins.
- Parameters
-
| on | false: drive both enables low now, latch the drop, refuse channel energising calls. true: re-arm by re-running the valve bring-up, which raises both pins. |
- Returns
- Ok, or Err(HardwareFault) when a pin could not be driven / bring-up failed, Err(NotInitialized) when no enable pin exists (GPIO manager down) on a drop.
◆ EnablePinsHigh()
| bool flux::hal::ValveBank::EnablePinsHigh |
( |
| ) |
|
|
staticnoexcept |
Both enable pins are driven high (banks may be energised by channel commands).
◆ IsHeldOff()
| bool flux::hal::ValveBank::IsHeldOff |
( |
| ) |
|
|
staticnoexcept |
The pins were dropped and not re-armed since.
The documentation for this struct was generated from the following files: