Struct rust_hdl_widgets::open_drain::OpenDrainReceiver
source · pub struct OpenDrainReceiver {
pub drive_low: Signal<In, Bit>,
pub line_state: Signal<Out, Bit>,
}
Fields§
§drive_low: Signal<In, Bit>
§line_state: Signal<Out, Bit>
Implementations§
source§impl OpenDrainReceiver
impl OpenDrainReceiver
pub fn join(&mut self, other: &mut OpenDrainDriver)
Trait Implementations§
source§impl Block for OpenDrainReceiver
impl Block for OpenDrainReceiver
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 OpenDrainReceiver
impl Default for OpenDrainReceiver
source§fn default() -> OpenDrainReceiver
fn default() -> OpenDrainReceiver
Returns the “default value” for a type. Read more