Struct rust_hdl::hls::spi::HLSSPIMasterDynamicMode
source · 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§
source§impl<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§
source§impl<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>
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)