Struct rust_hdl_widgets::i2c::i2c_test_target::I2CTestTarget
source · pub struct I2CTestTarget {
pub i2c: I2CBusDriver,
pub clock: Signal<In, Clock>,
/* private fields */
}
Fields§
§i2c: I2CBusDriver
§clock: Signal<In, Clock>
Implementations§
Trait Implementations§
source§impl Block for I2CTestTarget
impl Block for I2CTestTarget
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)