Struct stm32_hal2::pac::RTC

source ·
pub struct RTC { /* private fields */ }
Expand description

RTC

Implementations§

source§

impl RTC

source

pub const PTR: *const RegisterBlock = {0x58004000 as *const stm32h7::stm32h735::rtc::RegisterBlock}

Pointer to the register block

source

pub const fn ptr() -> *const RegisterBlock

Return the pointer to the register block

Methods from Deref<Target = RegisterBlock>§

source

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.

source

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.

source

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

source

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§

source§

impl Debug for RTC

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Deref for RTC

§

type Target = RegisterBlock

The resulting type after dereferencing.
source§

fn deref(&self) -> &<RTC as Deref>::Target

Dereferences the value.
source§

impl Send for RTC

Auto Trait Implementations§

§

impl RefUnwindSafe for RTC

§

impl !Sync for RTC

§

impl Unpin for RTC

§

impl UnwindSafe for RTC

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.