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
Source§impl Logic for OpenDrainReceiver
impl Logic for OpenDrainReceiver
Source§impl LogicJoin for OpenDrainReceiver
impl LogicJoin for OpenDrainReceiver
Auto Trait Implementations§
impl Freeze for OpenDrainReceiver
impl RefUnwindSafe for OpenDrainReceiver
impl Send for OpenDrainReceiver
impl Sync for OpenDrainReceiver
impl Unpin for OpenDrainReceiver
impl UnwindSafe for OpenDrainReceiver
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