pub struct MuxSlaves<const N: usize, const A: usize> {
pub from_master: SPIWiresSlave,
pub to_slaves: [SPIWiresMaster; N],
pub sel: Signal<In, Bits<A>>,
}
Fields
from_master: SPIWiresSlave
to_slaves: [SPIWiresMaster; N]
sel: Signal<In, Bits<A>>
Trait Implementations
sourceimpl<const N: usize, const A: usize> Block for MuxSlaves<N, A>
impl<const N: usize, const A: usize> Block for MuxSlaves<N, A>
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<const N: usize, const A: usize> RefUnwindSafe for MuxSlaves<N, A>
impl<const N: usize, const A: usize> Send for MuxSlaves<N, A>
impl<const N: usize, const A: usize> Sync for MuxSlaves<N, A>
impl<const N: usize, const A: usize> Unpin for MuxSlaves<N, A>
impl<const N: usize, const A: usize> UnwindSafe for MuxSlaves<N, A>
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