Struct stm32f072_hal::stm32::rtc::dr::R

source ·
pub struct R { /* private fields */ }
Expand description

Value read from the register

Implementations§

Value of the register as raw bits

Bits 20:23 - Year tens in BCD format

Bits 16:19 - Year units in BCD format

Bits 13:15 - Week day units

Bit 12 - Month tens in BCD format

Bits 8:11 - Month units in BCD format

Bits 4:5 - Date tens in BCD format

Bits 0:3 - Date units in BCD format

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.