pub struct AD7193Simulator {
pub wires: SPIWiresSlave,
pub clock: Signal<In, Clock>,
/* private fields */
}
Fields§
§wires: SPIWiresSlave
§clock: Signal<In, Clock>
Implementations§
Source§impl AD7193Simulator
impl AD7193Simulator
pub fn new(config: AD7193Config) -> Self
Trait Implementations§
Source§impl Block for AD7193Simulator
impl Block for AD7193Simulator
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 AD7193Simulator
impl RefUnwindSafe for AD7193Simulator
impl Send for AD7193Simulator
impl Sync for AD7193Simulator
impl Unpin for AD7193Simulator
impl UnwindSafe for AD7193Simulator
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