Struct stm32h7x3::rtc::RTC_DR
[−]
[src]
pub struct RTC_DR { /* fields omitted */ }
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 page9 and Reading the calendar on page10.This register is write protected. The write access procedure is described in RTC register write protection on page9.
Methods
impl RTC_DR
[src]
fn modify<F>(&self, f: F) where
F: FnOnce(&R, &'w mut W) -> &'w mut W,
[src]
F: FnOnce(&R, &'w mut W) -> &'w mut W,
Modifies the contents of the register
fn read(&self) -> R
[src]
Reads the contents of the register
fn write<F>(&self, f: F) where
F: FnOnce(&mut W) -> &mut W,
[src]
F: FnOnce(&mut W) -> &mut W,
Writes to the register
fn reset(&self)
[src]
Writes the reset value to the register