pub struct I2C { /* private fields */ }
Expand description
Inter-Integrated Circuit bus
Implementations
sourceimpl I2C
impl I2C
sourcepub const PTR: *const RegisterBlock = {0x40010000 as *const i2c::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40010000 as *const i2c::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
sourceimpl Deref for I2C
impl Deref for I2C
type Target = RegisterBlock
type Target = RegisterBlock
The resulting type after dereferencing.
impl Send for I2C
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