Struct rust_hdl_widgets::i2c::i2c_bus::I2CBusReceiver
source · 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