[][src]Struct stm32f3::stm32f303::rtc::dr::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self[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 Unpin for W

impl Sync for W

impl Send for W

Blanket Implementations

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

type Error = Infallible

The type returned in the event of a conversion error.

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

impl<T> From<T> for T[src]

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

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

The type returned in the event of a conversion error.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self