pub struct DR_SPEC;
Expand description
The RTC_DR is the calendar date shadow register. This register must be written in initialization mode only. Refer to Calendar initialization and configuration on page1830 and Reading the calendar on page1831. This register is write protected. The write access procedure is described in RTC register write protection on page1830. This register can be write-protected against non-secure access. Refer to Section50.3.4: RTC secure protection modes.
This register you can read
, write_with_zero
, reset
, write
, modify
. See API.
For information about available fields see dr module
Trait Implementations
sourceimpl RegisterSpec for DR_SPEC
impl RegisterSpec for DR_SPEC
sourceimpl Resettable for DR_SPEC
impl Resettable for DR_SPEC
reset()
method sets DR to value 0x2101
sourcefn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
Auto Trait Implementations
impl RefUnwindSafe for DR_SPEC
impl Send for DR_SPEC
impl Sync for DR_SPEC
impl Unpin for DR_SPEC
impl UnwindSafe for DR_SPEC
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