[−][src]Struct alt_stm32f30x_hal::stm32::rtc::dr::W
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
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