Struct rust_hdl::widgets::i2c::i2c_controller::I2CController
source · [−]pub struct I2CController {
pub sda: Signal<InOut, Bit>,
pub scl: Signal<InOut, Bit>,
pub clock: Signal<In, Clock>,
pub cmd: Signal<In, I2CControllerCmd>,
pub run: Signal<In, Bit>,
pub busy: Signal<Out, Bit>,
pub error: Signal<Out, Bit>,
pub write_data_in: Signal<In, Bits<8>>,
pub read_data_out: Signal<Out, Bits<8>>,
pub read_valid: Signal<Out, Bit>,
pub ack: Signal<Out, Bit>,
pub nack: Signal<Out, Bit>,
/* private fields */
}
Fields
sda: Signal<InOut, Bit>
scl: Signal<InOut, Bit>
clock: Signal<In, Clock>
cmd: Signal<In, I2CControllerCmd>
run: Signal<In, Bit>
busy: Signal<Out, Bit>
error: Signal<Out, Bit>
write_data_in: Signal<In, Bits<8>>
read_data_out: Signal<Out, Bits<8>>
read_valid: Signal<Out, Bit>
ack: Signal<Out, Bit>
nack: Signal<Out, Bit>
Implementations
sourceimpl I2CController
impl I2CController
Trait Implementations
sourceimpl Block for I2CController
impl Block for I2CController
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 I2CController
impl Send for I2CController
impl Sync for I2CController
impl Unpin for I2CController
impl UnwindSafe for I2CController
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