pub struct I2CDriver {
pub sda: Signal<InOut, Bit>,
pub scl: Signal<InOut, Bit>,
pub clock: Signal<In, Clock>,
pub cmd: Signal<In, I2CDriverCmd>,
pub run: Signal<In, Bit>,
pub busy: Signal<Out, Bit>,
pub error: Signal<Out, Bit>,
pub read_bit: Signal<Out, Bit>,
pub read_valid: Signal<Out, Bit>,
/* private fields */
}
Fields
sda: Signal<InOut, Bit>
scl: Signal<InOut, Bit>
clock: Signal<In, Clock>
cmd: Signal<In, I2CDriverCmd>
run: Signal<In, Bit>
busy: Signal<Out, Bit>
error: Signal<Out, Bit>
read_bit: Signal<Out, Bit>
read_valid: Signal<Out, Bit>
Implementations
Trait Implementations
sourceimpl Block for I2CDriver
impl Block for I2CDriver
fn connect_all(&mut self)
fn update_all(&mut self)
fn has_changed(&self) -> bool
fn accept(&self, name: &str, probe: &mut dyn Probe)
Auto Trait Implementations
impl RefUnwindSafe for I2CDriver
impl Send for I2CDriver
impl Sync for I2CDriver
impl Unpin for I2CDriver
impl UnwindSafe for I2CDriver
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more