Struct gd32f1x0_hal::pac::I2C2
source · [−]pub struct I2C2 { /* private fields */ }
Expand description
Inter integrated circuit
Implementations
sourceimpl I2C2
impl I2C2
sourcepub const PTR: *const RegisterBlock = {0x4000c000 as *const gd32f1::gd32f130::i2c0::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x4000c000 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
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