pub struct I2CTestTarget {
pub i2c: I2CBusDriver,
pub clock: Signal<In, Clock>,
/* private fields */
}
Fields§
§i2c: I2CBusDriver
§clock: Signal<In, Clock>
Implementations§
Source§impl I2CTestTarget
impl I2CTestTarget
pub fn new(address: u8) -> I2CTestTarget
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)Auto Trait Implementations§
impl Freeze for I2CTestTarget
impl RefUnwindSafe for I2CTestTarget
impl Send for I2CTestTarget
impl Sync for I2CTestTarget
impl Unpin for I2CTestTarget
impl UnwindSafe for I2CTestTarget
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