Struct rust_hdl_widgets::open_drain::OpenDrainBuffer
source · pub struct OpenDrainBuffer {
pub bus: Signal<InOut, Bit>,
pub control: OpenDrainReceiver,
}
Fields§
§bus: Signal<InOut, Bit>
§control: OpenDrainReceiver
Trait Implementations§
source§impl Block for OpenDrainBuffer
impl Block for OpenDrainBuffer
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 OpenDrainBuffer
impl Default for OpenDrainBuffer
source§fn default() -> OpenDrainBuffer
fn default() -> OpenDrainBuffer
Returns the “default value” for a type. Read more