Struct rust_hdl::prelude::HLSSPIMuxMasters
source · pub struct HLSSPIMuxMasters<const D: usize, const A: usize, const N: usize> {
pub from_masters: [SPIWiresSlave; N],
pub upstream: SoCBusResponder<D, A>,
pub to_bus: SPIWiresMaster,
/* private fields */
}
Fields§
§from_masters: [SPIWiresSlave; N]
§upstream: SoCBusResponder<D, A>
§to_bus: SPIWiresMaster
Trait Implementations§
source§impl<const D: usize, const A: usize, const N: usize> Block for HLSSPIMuxMasters<D, A, N>
impl<const D: usize, const A: usize, const N: usize> Block for HLSSPIMuxMasters<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> Default for HLSSPIMuxMasters<D, A, N>
impl<const D: usize, const A: usize, const N: usize> Default for HLSSPIMuxMasters<D, A, N>
source§fn default() -> HLSSPIMuxMasters<D, A, N>
fn default() -> HLSSPIMuxMasters<D, A, N>
Returns the “default value” for a type. Read more