pub struct DelayDoInputs {
pub enable: bool,
pub enable_changed: bool,
pub standby: bool,
pub standby_changed: bool,
pub active: bool,
pub active_changed: bool,
}Expand description
Input signals for the delay-do state machine.
Each _changed field is a monitor event, not a level comparison: SNL’s
sync posts the event flag on every monitor callback for the variable,
including one that carries the same value (an alarm-only update) or a fall
back to zero. Pass true on the step a callback arrived, whatever the new
value is; DelayDoController::step latches it exactly as SNL does.
Fields§
§enable: boolEnable/disable control
enable_changed: boolA monitor event arrived on “enable” this step (SNL enable_mon)
standby: boolStandby condition
standby_changed: boolA monitor event arrived on “standby” this step (SNL standby_mon)
active: boolActive condition
active_changed: boolA monitor event arrived on “active” this step (SNL active_mon)
Trait Implementations§
Source§impl Clone for DelayDoInputs
impl Clone for DelayDoInputs
impl Copy for DelayDoInputs
Auto Trait Implementations§
impl Freeze for DelayDoInputs
impl RefUnwindSafe for DelayDoInputs
impl Send for DelayDoInputs
impl Sync for DelayDoInputs
impl Unpin for DelayDoInputs
impl UnsafeUnpin for DelayDoInputs
impl UnwindSafe for DelayDoInputs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more