#[repr(C)]pub struct RegisterBlock { /* private fields */ }Expand description
Register block
Implementations§
Source§impl RegisterBlock
impl RegisterBlock
Sourcepub const fn flag_ctrl(&self) -> &Reg<FLAG_CTRL_SPEC>
pub const fn flag_ctrl(&self) -> &Reg<FLAG_CTRL_SPEC>
0x30 - RTC flag and clear control
Sourcepub const fn mode_ctrl(&self) -> &Reg<MODE_CTRL_SPEC>
pub const fn mode_ctrl(&self) -> &Reg<MODE_CTRL_SPEC>
0x31 - RTC mode control
Sourcepub const fn cnt_32k(&self) -> &Reg<CNT_32K_SPEC>
pub const fn cnt_32k(&self) -> &Reg<CNT_32K_SPEC>
0x38 - RTC 32K-based counter
Sourcepub const fn cnt_2s(&self) -> &Reg<CNT_2S_SPEC>
pub const fn cnt_2s(&self) -> &Reg<CNT_2S_SPEC>
0x3a - RTC 2-second-based counter
Sourcepub const fn cnt_day(&self) -> &Reg<CNT_DAY_SPEC>
pub const fn cnt_day(&self) -> &Reg<CNT_DAY_SPEC>
0x3c - RTC day-based counter
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