Struct stm32_hal2::pac::RTC
source · [−]pub struct RTC { /* private fields */ }
Expand description
RTC
Implementations
sourceimpl RTC
impl RTC
sourcepub const PTR: *const RegisterBlock = {0x58004000 as *const stm32h7::stm32h735::rtc::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x58004000 as *const stm32h7::stm32h735::rtc::RegisterBlock}
Pointer to the register block
sourcepub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
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
Trait Implementations
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