[]Struct nucleo_f042k6::stm32::rtc::cr::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W

pub fn reset_value() -> W

Reset value of the register

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

Writes raw bits to the register

pub fn tsedge(&mut self) -> _TSEDGEW

Bit 3 - Time-stamp event active edge

pub fn refckon(&mut self) -> _REFCKONW

Bit 4 - RTC_REFIN reference clock detection enable (50 or 60 Hz)

pub fn bypshad(&mut self) -> _BYPSHADW

Bit 5 - Bypass the shadow registers

pub fn fmt(&mut self) -> _FMTW

Bit 6 - Hour format

pub fn alrae(&mut self) -> _ALRAEW

Bit 8 - Alarm A enable

pub fn tse(&mut self) -> _TSEW

Bit 11 - timestamp enable

pub fn alraie(&mut self) -> _ALRAIEW

Bit 12 - Alarm A interrupt enable

pub fn tsie(&mut self) -> _TSIEW

Bit 15 - Time-stamp interrupt enable

pub fn add1h(&mut self) -> _ADD1HW

Bit 16 - Add 1 hour (summer time change)

pub fn sub1h(&mut self) -> _SUB1HW

Bit 17 - Subtract 1 hour (winter time change)

pub fn bkp(&mut self) -> _BKPW

Bit 18 - Backup

pub fn cosel(&mut self) -> _COSELW

Bit 19 - Calibration output selection

pub fn pol(&mut self) -> _POLW

Bit 20 - Output polarity

pub fn osel(&mut self) -> _OSELW

Bits 21:22 - Output selection

pub fn coe(&mut self) -> _COEW

Bit 23 - Calibration output enable

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> From for T
[src]

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]