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
source§impl Logic for SPIWiresSlave
impl Logic for SPIWiresSlave
source§impl LogicJoin for SPIWiresSlave
impl LogicJoin for SPIWiresSlave
Auto Trait Implementations§
impl RefUnwindSafe for SPIWiresSlave
impl Send for SPIWiresSlave
impl Sync for SPIWiresSlave
impl Unpin for SPIWiresSlave
impl UnwindSafe for SPIWiresSlave
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more