Struct alt_stm32f30x_hal::device::RTC
source · [−]pub struct RTC { /* private fields */ }
Expand description
Real-time clock
Implementations
sourceimpl RTC
impl RTC
sourcepub const PTR: *const RegisterBlock = {0x40002800 as *const stm32f3::stm32f303::rtc::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40002800 as *const stm32f3::stm32f303::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 - Alarm register
sourcepub fn alrmbr(&self) -> &Reg<ALRMR_SPEC>
pub fn alrmbr(&self) -> &Reg<ALRMR_SPEC>
0x20 - Alarm register
sourcepub fn alrmassr(&self) -> &Reg<ALRMSSR_SPEC>
pub fn alrmassr(&self) -> &Reg<ALRMSSR_SPEC>
0x44 - Alarm sub-second register
sourcepub fn alrmbssr(&self) -> &Reg<ALRMSSR_SPEC>
pub fn alrmbssr(&self) -> &Reg<ALRMSSR_SPEC>
0x48 - Alarm sub-second register
Trait Implementations
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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