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