Struct nrf5340_app_pac::TIMER2_S
source · [−]pub struct TIMER2_S { /* private fields */ }
Expand description
Timer/Counter 5
Implementations
sourceimpl TIMER2_S
impl TIMER2_S
sourcepub const PTR: *const RegisterBlock = {0x50011000 as *const timer0_ns::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x50011000 as *const timer0_ns::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 TIMER2_S
impl Deref for TIMER2_S
type Target = RegisterBlock
type Target = RegisterBlock
The resulting type after dereferencing.
impl Send for TIMER2_S
Auto Trait Implementations
impl RefUnwindSafe for TIMER2_S
impl !Sync for TIMER2_S
impl Unpin for TIMER2_S
impl UnwindSafe for TIMER2_S
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