Struct atsam4ls4a_pac::TWIM2
source · [−]pub struct TWIM2 { /* private fields */ }
Expand description
Two-wire Master Interface 2
Implementations
sourceimpl TWIM2
impl TWIM2
sourcepub const PTR: *const RegisterBlock = {0x40078000 as *const twim0::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40078000 as *const twim0::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 TWIM2
impl Deref for TWIM2
type Target = RegisterBlock
type Target = RegisterBlock
The resulting type after dereferencing.
impl Send for TWIM2
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