Struct cec1712_pac::I2C0
source · [−]pub struct I2C0 { /* private fields */ }
Expand description
The I2C interface can handle standard I2C interface.
Implementations
sourceimpl I2C0
impl I2C0
sourcepub const PTR: *const RegisterBlock = {0x40005100 as *const i2c0::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40005100 as *const 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
Methods from Deref<Target = RegisterBlock>
Trait Implementations
sourceimpl Deref for I2C0
impl Deref for I2C0
type Target = RegisterBlock
type Target = RegisterBlock
The resulting type after dereferencing.
impl Send for I2C0
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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