pub struct R(_);
Expand description
Register COUNT
reader
Implementations
sourceimpl R
impl R
sourcepub fn val(&self) -> VAL_R
pub fn val(&self) -> VAL_R
Bits 0:31 - A read reflects the current value of the main, 1 Hz RTC timer. A write loads a new initial value into the timer. The RTC counter will count up continuously at a 1 Hz rate once the RTC Software Reset is removed (by clearing bit 0 of the CTRL register). Only write to this register when the RTC_EN bit in the RTC CTRL Register is 0. The counter increments one second after the RTC_EN bit is set.
Methods from Deref<Target = R<COUNT_SPEC>>
Trait Implementations
sourceimpl From<R<COUNT_SPEC>> for R
impl From<R<COUNT_SPEC>> for R
sourcefn from(reader: R<COUNT_SPEC>) -> Self
fn from(reader: R<COUNT_SPEC>) -> Self
Performs the conversion.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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