Struct rust_hdl_widgets::spi::mux::MuxSlaves
source · pub struct MuxSlaves<const N: usize, const A: usize> {
pub from_master: SPIWiresSlave,
pub to_slaves: [SPIWiresMaster; N],
pub sel: Signal<In, Bits<A>>,
}
Fields§
§from_master: SPIWiresSlave
§to_slaves: [SPIWiresMaster; N]
§sel: Signal<In, Bits<A>>
Trait Implementations§
source§impl<const N: usize, const A: usize> Block for MuxSlaves<N, A>
impl<const N: usize, const A: usize> Block for MuxSlaves<N, A>
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)