pub struct HLSSPIMasterDynamicMode<const D: usize, const A: usize, const W: usize> {
pub spi: SPIWiresMaster,
pub upstream: SoCBusResponder<D, A>,
/* private fields */
}
Fields
spi: SPIWiresMaster
upstream: SoCBusResponder<D, A>
Implementations
sourceimpl<const D: usize, const A: usize, const W: usize> HLSSPIMasterDynamicMode<D, A, W>
impl<const D: usize, const A: usize, const W: usize> HLSSPIMasterDynamicMode<D, A, W>
pub fn new(config: SPIConfigDynamicMode) -> Self
Trait Implementations
sourceimpl<const D: usize, const A: usize, const W: usize> Block for HLSSPIMasterDynamicMode<D, A, W>
impl<const D: usize, const A: usize, const W: usize> Block for HLSSPIMasterDynamicMode<D, A, W>
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)
sourceimpl<const D: usize, const A: usize, const W: usize> HLSNamedPorts for HLSSPIMasterDynamicMode<D, A, W>
impl<const D: usize, const A: usize, const W: usize> HLSNamedPorts for HLSSPIMasterDynamicMode<D, A, W>
Auto Trait Implementations
impl<const D: usize, const A: usize, const W: usize> RefUnwindSafe for HLSSPIMasterDynamicMode<D, A, W>
impl<const D: usize, const A: usize, const W: usize> Send for HLSSPIMasterDynamicMode<D, A, W>
impl<const D: usize, const A: usize, const W: usize> Sync for HLSSPIMasterDynamicMode<D, A, W>
impl<const D: usize, const A: usize, const W: usize> Unpin for HLSSPIMasterDynamicMode<D, A, W>
impl<const D: usize, const A: usize, const W: usize> UnwindSafe for HLSSPIMasterDynamicMode<D, A, W>
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