pub struct MuxMasters<const N: usize, const A: usize> {
pub to_bus: SPIWiresMaster,
pub from_masters: [SPIWiresSlave; N],
pub sel: Signal<In, Bits<A>>,
}
Fields
to_bus: SPIWiresMaster
from_masters: [SPIWiresSlave; N]
sel: Signal<In, Bits<A>>
Trait Implementations
sourceimpl<const N: usize, const A: usize> Block for MuxMasters<N, A>
impl<const N: usize, const A: usize> Block for MuxMasters<N, A>
fn connect_all(&mut self)
fn update_all(&mut self)
fn has_changed(&self) -> bool
fn accept(&self, name: &str, probe: &mut dyn Probe)
sourceimpl<const N: usize, const A: usize> Default for MuxMasters<N, A>
impl<const N: usize, const A: usize> Default for MuxMasters<N, A>
Auto Trait Implementations
impl<const N: usize, const A: usize> RefUnwindSafe for MuxMasters<N, A>
impl<const N: usize, const A: usize> Send for MuxMasters<N, A>
impl<const N: usize, const A: usize> Sync for MuxMasters<N, A>
impl<const N: usize, const A: usize> Unpin for MuxMasters<N, A>
impl<const N: usize, const A: usize> UnwindSafe for MuxMasters<N, A>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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