pub struct I2CTarget {
pub sda: Signal<InOut, Bit>,
pub scl: Signal<InOut, Bit>,
pub clock: Signal<In, Clock>,
pub from_bus: Signal<Out, Bits<8>>,
pub bus_write: Signal<Out, Bit>,
pub active: Signal<In, Bit>,
pub stop: Signal<Out, Bit>,
pub to_bus: Signal<In, Bits<8>>,
pub write_enable: Signal<In, Bit>,
pub ack: Signal<Out, Bit>,
pub nack: Signal<Out, Bit>,
pub write_ok: Signal<Out, Bit>,
/* private fields */
}
Fields
sda: Signal<InOut, Bit>
scl: Signal<InOut, Bit>
clock: Signal<In, Clock>
from_bus: Signal<Out, Bits<8>>
bus_write: Signal<Out, Bit>
active: Signal<In, Bit>
stop: Signal<Out, Bit>
to_bus: Signal<In, Bits<8>>
write_enable: Signal<In, Bit>
ack: Signal<Out, Bit>
nack: Signal<Out, Bit>
write_ok: Signal<Out, Bit>
Trait Implementations
sourceimpl Block for I2CTarget
impl Block for I2CTarget
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 I2CTarget
impl Send for I2CTarget
impl Sync for I2CTarget
impl Unpin for I2CTarget
impl UnwindSafe for I2CTarget
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