Struct rust_hdl_widgets::spi::master::SPIWiresSlave
source · pub struct SPIWiresSlave {
pub mosi: Signal<In, Bit>,
pub miso: Signal<Out, Bit>,
pub msel: Signal<In, Bit>,
pub mclk: Signal<In, Bit>,
}
Fields§
§mosi: Signal<In, Bit>
§miso: Signal<Out, Bit>
§msel: Signal<In, Bit>
§mclk: Signal<In, Bit>
Implementations§
source§impl SPIWiresSlave
impl SPIWiresSlave
pub fn join(&mut self, other: &mut SPIWiresMaster)
Trait Implementations§
source§impl Block for SPIWiresSlave
impl Block for SPIWiresSlave
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 Default for SPIWiresSlave
impl Default for SPIWiresSlave
source§fn default() -> SPIWiresSlave
fn default() -> SPIWiresSlave
Returns the “default value” for a type. Read more