pub struct HLSSPIMuxSlaves<const D: usize, const A: usize, const N: usize> {
pub to_slaves: [SPIWiresMaster; N],
pub from_bus: SPIWiresSlave,
pub upstream: SoCBusResponder<D, A>,
/* private fields */
}
Fields§
§to_slaves: [SPIWiresMaster; N]
§from_bus: SPIWiresSlave
§upstream: SoCBusResponder<D, A>
Trait Implementations§
Source§impl<const D: usize, const A: usize, const N: usize> Block for HLSSPIMuxSlaves<D, A, N>
impl<const D: usize, const A: usize, const N: usize> Block for HLSSPIMuxSlaves<D, A, N>
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)Source§impl<const D: usize, const A: usize, const N: usize> HLSNamedPorts for HLSSPIMuxSlaves<D, A, N>
impl<const D: usize, const A: usize, const N: usize> HLSNamedPorts for HLSSPIMuxSlaves<D, A, N>
Auto Trait Implementations§
impl<const D: usize, const A: usize, const N: usize> Freeze for HLSSPIMuxSlaves<D, A, N>
impl<const D: usize, const A: usize, const N: usize> RefUnwindSafe for HLSSPIMuxSlaves<D, A, N>
impl<const D: usize, const A: usize, const N: usize> Send for HLSSPIMuxSlaves<D, A, N>
impl<const D: usize, const A: usize, const N: usize> Sync for HLSSPIMuxSlaves<D, A, N>
impl<const D: usize, const A: usize, const N: usize> Unpin for HLSSPIMuxSlaves<D, A, N>
impl<const D: usize, const A: usize, const N: usize> UnwindSafe for HLSSPIMuxSlaves<D, A, N>
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