#[repr(C)]pub struct RegisterBlock {
pub ctrl: CTRL,
pub match_: MATCH,
pub count: COUNT,
pub wake: WAKE,
pub subsec: SUBSEC,
pub gpreg: [GPREG; 8],
/* private fields */
}
Expand description
Register block
Fields§
§ctrl: CTRL
0x00 - RTC control register.
match_: MATCH
0x04 - RTC match register.
count: COUNT
0x08 - RTC counter register.
wake: WAKE
0x0c - High-resolution/wake-up timer control register.
subsec: SUBSEC
0x10 - Sub-second counter register.
gpreg: [GPREG; 8]
0x40..0x60 - General Purpose register.
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more