#[repr(C)]pub struct RegisterBlock {
pub sec: Reg<SEC_SPEC>,
pub ssec: Reg<SSEC_SPEC>,
pub ras: Reg<RAS_SPEC>,
pub rssa: Reg<RSSA_SPEC>,
pub ctrl: Reg<CTRL_SPEC>,
pub trim: Reg<TRIM_SPEC>,
pub oscctrl: Reg<OSCCTRL_SPEC>,
}Expand description
Register block
Fields§
§sec: Reg<SEC_SPEC>0x00 - RTC Second Counter. This register contains the 32-bit second counter.
ssec: Reg<SSEC_SPEC>0x04 - RTC Sub-second Counter. This counter increments at 256Hz. RTC_SEC is incremented when this register rolls over from 0xFF to 0x00.
ras: Reg<RAS_SPEC>0x08 - Time-of-day Alarm.
rssa: Reg<RSSA_SPEC>0x0c - RTC sub-second alarm. This register contains the reload value for the sub-second alarm.
ctrl: Reg<CTRL_SPEC>0x10 - RTC Control Register.
trim: Reg<TRIM_SPEC>0x14 - RTC Trim Register.
oscctrl: Reg<OSCCTRL_SPEC>0x18 - RTC Oscillator Control Register.
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl !Sync for RegisterBlock
impl Send for RegisterBlock
impl Unpin for RegisterBlock
impl UnsafeUnpin 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