Struct rust_hdl::sim::ad7193_sim::AD7193Simulator
source · [−]pub struct AD7193Simulator {
pub wires: SPIWiresSlave,
pub clock: Signal<In, Clock>,
/* private fields */
}
Fields
wires: SPIWiresSlave
clock: Signal<In, Clock>
Implementations
sourceimpl AD7193Simulator
impl AD7193Simulator
pub fn new(config: AD7193Config) -> Self
Trait Implementations
sourceimpl Block for AD7193Simulator
impl Block for AD7193Simulator
sourcefn connect_all(&mut self)
fn connect_all(&mut self)
Connects the internal signals of the circuit - used to initialize the circuit
sourcefn update_all(&mut self)
fn update_all(&mut self)
Propogate changes from inputs to outputs within the circuit
sourcefn 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 RefUnwindSafe for AD7193Simulator
impl Send for AD7193Simulator
impl Sync for AD7193Simulator
impl Unpin for AD7193Simulator
impl UnwindSafe for AD7193Simulator
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more