pub struct Shot<const N: usize> {
pub trigger: Signal<In, bool>,
pub active: Signal<Out, bool>,
pub clock: Signal<In, Clock>,
pub fired: Signal<Out, bool>,
/* private fields */
}Fields§
§trigger: Signal<In, bool>§active: Signal<Out, bool>§clock: Signal<In, Clock>§fired: Signal<Out, bool>Implementations§
Trait Implementations§
source§impl<const N: usize> Block for Shot<N>
impl<const N: usize> Block for Shot<N>
source§fn connect_all(&mut self)
fn connect_all(&mut self)
Connects the internal signals of the circuit - used to initialize the circuit
source§fn update_all(&mut self)
fn update_all(&mut self)
Propogate changes from inputs to outputs within the circuit
source§fn has_changed(&self) -> bool
fn has_changed(&self) -> bool
Returns
true if anything in the circuit has changed (outputs or internal state)