Struct embassy_stm32::peripherals::I2C2
source · pub struct I2C2 { /* private fields */ }
Expand description
I2C2 peripheral
Implementations§
Trait Implementations§
source§impl Instance for I2C2
impl Instance for I2C2
§type EventInterrupt = I2C2_EV
type EventInterrupt = I2C2_EV
Event interrupt for this instance
§type ErrorInterrupt = I2C2_ER
type ErrorInterrupt = I2C2_ER
Error interrupt for this instance
source§impl Peripheral for I2C2
impl Peripheral for I2C2
source§impl RccPeripheral for I2C2
impl RccPeripheral for I2C2
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 I2C2
Auto Trait Implementations§
impl RefUnwindSafe for I2C2
impl Send for I2C2
impl Sync for I2C2
impl Unpin for I2C2
impl UnwindSafe for I2C2
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