Struct gd32f1x0_hal::pac::I2C1
source · [−]pub struct I2C1 { /* private fields */ }
Expand description
Inter integrated circuit
Implementations
sourceimpl I2C1
impl I2C1
sourcepub const PTR: *const RegisterBlock = {0x40005800 as *const gd32f1::gd32f130::i2c0::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40005800 as *const gd32f1::gd32f130::i2c0::RegisterBlock}
Pointer to the register block
sourcepub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
Trait Implementations
impl SclPin<I2C1> for PA0<Alternate<AF4>>
impl SclPin<I2C1> for PB10<Alternate<AF1>>
impl SclPin<I2C1> for PF6<Alternate<AF0>>
impl SdaPin<I2C1> for PA1<Alternate<AF4>>
impl SdaPin<I2C1> for PB11<Alternate<AF1>>
impl SdaPin<I2C1> for PF7<Alternate<AF0>>
impl Send for I2C1
Auto Trait Implementations
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