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