pub struct SERCOM2 { /* private fields */ }
Expand description
Serial Communication Interface 2
Implementations
sourceimpl SERCOM2
impl SERCOM2
sourcepub const PTR: *const RegisterBlock = {0x42001000 as *const sercom0::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x42001000 as *const sercom0::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 SERCOM2
impl Deref for SERCOM2
type Target = RegisterBlock
type Target = RegisterBlock
The resulting type after dereferencing.
impl Send for SERCOM2
Auto Trait Implementations
impl RefUnwindSafe for SERCOM2
impl !Sync for SERCOM2
impl Unpin for SERCOM2
impl UnwindSafe for SERCOM2
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