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) -> MuxedAD7193Simulators
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)Auto Trait Implementations§
impl Freeze for MuxedAD7193Simulators
impl RefUnwindSafe for MuxedAD7193Simulators
impl Send for MuxedAD7193Simulators
impl Sync for MuxedAD7193Simulators
impl Unpin for MuxedAD7193Simulators
impl UnwindSafe for MuxedAD7193Simulators
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