pub struct I2CBusReceiver {
pub sda: OpenDrainReceiver,
pub scl: OpenDrainReceiver,
}
Fields§
§sda: OpenDrainReceiver
§scl: OpenDrainReceiver
Implementations§
Source§impl I2CBusReceiver
impl I2CBusReceiver
pub fn join(&mut self, other: &mut I2CBusDriver)
Trait Implementations§
Source§impl Block for I2CBusReceiver
impl Block for I2CBusReceiver
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 I2CBusReceiver
impl Default for I2CBusReceiver
Source§fn default() -> I2CBusReceiver
fn default() -> I2CBusReceiver
Returns the “default value” for a type. Read more
Source§impl Logic for I2CBusReceiver
impl Logic for I2CBusReceiver
Source§impl LogicJoin for I2CBusReceiver
impl LogicJoin for I2CBusReceiver
Auto Trait Implementations§
impl Freeze for I2CBusReceiver
impl RefUnwindSafe for I2CBusReceiver
impl Send for I2CBusReceiver
impl Sync for I2CBusReceiver
impl Unpin for I2CBusReceiver
impl UnwindSafe for I2CBusReceiver
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