pub struct MuxedAD7193Simulators {
pub wires: SPIWiresSlave,
pub addr: Signal<In, Bits<3>>,
pub mux: MuxSlaves<8, 3>,
pub clock: Signal<In, Clock>,
/* private fields */
}
Fields§
§wires: SPIWiresSlave
§addr: Signal<In, Bits<3>>
§mux: MuxSlaves<8, 3>
§clock: Signal<In, Clock>
Implementations§
source§impl MuxedAD7193Simulators
impl MuxedAD7193Simulators
pub fn new(config: AD7193Config) -> Self
Trait Implementations§
source§impl Block for MuxedAD7193Simulators
impl Block for MuxedAD7193Simulators
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)