[][src]Struct stm32l4xx_hal::stm32::rtc::tstr::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R[src]

pub fn bits(&self) -> u32[src]

Value of the register as raw bits

pub fn su(&self) -> SUR[src]

Bits 0:3 - Second units in BCD format

pub fn st(&self) -> STR[src]

Bits 4:6 - Second tens in BCD format

pub fn mnu(&self) -> MNUR[src]

Bits 8:11 - Minute units in BCD format

pub fn mnt(&self) -> MNTR[src]

Bits 12:14 - Minute tens in BCD format

pub fn hu(&self) -> HUR[src]

Bits 16:19 - Hour units in BCD format

pub fn ht(&self) -> HTR[src]

Bits 20:21 - Hour tens in BCD format

pub fn pm(&self) -> PMR[src]

Bit 22 - AM/PM notation

Auto Trait Implementations

impl Send for R

impl Sync for R

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T

type Output = T

Should always be Self