Struct rust_hdl::widgets::open_drain::OpenDrainBuffer
source · [−]pub struct OpenDrainBuffer {
pub bus: Signal<InOut, Bit>,
pub enable: Signal<In, Bit>,
pub read_data: Signal<Out, Bit>,
}
Fields
bus: Signal<InOut, Bit>
enable: Signal<In, Bit>
read_data: Signal<Out, Bit>
Trait Implementations
sourceimpl Block for OpenDrainBuffer
impl Block for OpenDrainBuffer
sourcefn connect_all(&mut self)
fn connect_all(&mut self)
Connects the internal signals of the circuit - used to initialize the circuit
sourcefn update_all(&mut self)
fn update_all(&mut self)
Propogate changes from inputs to outputs within the circuit
sourcefn has_changed(&self) -> bool
fn has_changed(&self) -> bool
Returns true
if anything in the circuit has changed (outputs or internal state)
sourceimpl Default for OpenDrainBuffer
impl Default for OpenDrainBuffer
sourcefn default() -> OpenDrainBuffer
fn default() -> OpenDrainBuffer
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for OpenDrainBuffer
impl Send for OpenDrainBuffer
impl Sync for OpenDrainBuffer
impl Unpin for OpenDrainBuffer
impl UnwindSafe for OpenDrainBuffer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more