Struct embassy_stm32::peripherals::I2C1
source · pub struct I2C1 { /* private fields */ }
Expand description
I2C1 peripheral
Implementations§
Trait Implementations§
source§impl Instance for I2C1
impl Instance for I2C1
§type EventInterrupt = I2C1_EV
type EventInterrupt = I2C1_EV
Event interrupt for this instance
§type ErrorInterrupt = I2C1_ER
type ErrorInterrupt = I2C1_ER
Error interrupt for this instance
source§impl Peripheral for I2C1
impl Peripheral for I2C1
source§impl RccPeripheral for I2C1
impl RccPeripheral for I2C1
fn frequency() -> Hertz
fn enable_and_reset_with_cs(_cs: CriticalSection<'_>)
fn disable_with_cs(_cs: CriticalSection<'_>)
fn enable_and_reset()
fn disable()
impl RccPeripheral for I2C1
Auto Trait Implementations§
impl RefUnwindSafe for I2C1
impl Send for I2C1
impl Sync for I2C1
impl Unpin for I2C1
impl UnwindSafe for I2C1
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