Struct stm32_hal2::pac::RTC
source · pub struct RTC { /* private fields */ }
Expand description
RTC
Implementations§
Methods from Deref<Target = RegisterBlock>§
sourcepub fn alrmar(&self) -> &Reg<ALRMR_SPEC>
pub fn alrmar(&self) -> &Reg<ALRMR_SPEC>
0x1c - This register can be written only when ALRAWF is set to 1 in RTC_ISR, or in initialization mode.This register is write protected. The write access procedure is described in RTC register write protection on page9.
sourcepub fn alrmbr(&self) -> &Reg<ALRMR_SPEC>
pub fn alrmbr(&self) -> &Reg<ALRMR_SPEC>
0x20 - This register can be written only when ALRAWF is set to 1 in RTC_ISR, or in initialization mode.This register is write protected. The write access procedure is described in RTC register write protection on page9.
sourcepub fn alrmassr(&self) -> &Reg<ALRMSSR_SPEC>
pub fn alrmassr(&self) -> &Reg<ALRMSSR_SPEC>
0x44 - This register can be written only when ALRAE is reset in RTC_CR register, or in initialization mode.This register is write protected. The write access procedure is described in RTC register write protection on page9
sourcepub fn alrmbssr(&self) -> &Reg<ALRMSSR_SPEC>
pub fn alrmbssr(&self) -> &Reg<ALRMSSR_SPEC>
0x48 - This register can be written only when ALRAE is reset in RTC_CR register, or in initialization mode.This register is write protected. The write access procedure is described in RTC register write protection on page9