[−][src]Struct alt_stm32f30x_hal::pac::rtc::tr::R
Value read from the register
Methods
impl R
[src]
pub fn bits(&self) -> u32
[src]
Value of the register as raw bits
pub fn pm(&self) -> PMR
[src]
Bit 22 - AM/PM notation
pub fn ht(&self) -> HTR
[src]
Bits 20:21 - Hour tens in BCD format
pub fn hu(&self) -> HUR
[src]
Bits 16:19 - Hour units in BCD format
pub fn mnt(&self) -> MNTR
[src]
Bits 12:14 - Minute tens in BCD format
pub fn mnu(&self) -> MNUR
[src]
Bits 8:11 - Minute units in BCD format
pub fn st(&self) -> STR
[src]
Bits 4:6 - Second tens in BCD format
pub fn su(&self) -> SUR
[src]
Bits 0:3 - Second units in BCD format
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self