[][src]Struct stm32l4xx_hal::stm32::rtc::dr::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

pub unsafe fn bits(&mut self, bits: u32) -> &mut W[src]

Writes raw bits to the register

pub fn yt(&mut self) -> _YTW[src]

Bits 20:23 - Year tens in BCD format

pub fn yu(&mut self) -> _YUW[src]

Bits 16:19 - Year units in BCD format

pub fn wdu(&mut self) -> _WDUW[src]

Bits 13:15 - Week day units

pub fn mt(&mut self) -> _MTW[src]

Bit 12 - Month tens in BCD format

pub fn mu(&mut self) -> _MUW[src]

Bits 8:11 - Month units in BCD format

pub fn dt(&mut self) -> _DTW[src]

Bits 4:5 - Date tens in BCD format

pub fn du(&mut self) -> _DUW[src]

Bits 0:3 - Date units in BCD format

Auto Trait Implementations

impl Send for W

impl Sync for W

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