[][src]Struct stm32f3::stm32f303::rtc::cr::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 Self[src]

Writes raw bits to the register

pub fn wcksel(&mut self) -> _WCKSELW[src]

Bits 0:2 - Wakeup clock selection

pub fn tsedge(&mut self) -> _TSEDGEW[src]

Bit 3 - Time-stamp event active edge

pub fn refckon(&mut self) -> _REFCKONW[src]

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

pub fn bypshad(&mut self) -> _BYPSHADW[src]

Bit 5 - Bypass the shadow registers

pub fn fmt(&mut self) -> _FMTW[src]

Bit 6 - Hour format

pub fn alrae(&mut self) -> _ALRAEW[src]

Bit 8 - Alarm A enable

pub fn alrbe(&mut self) -> _ALRBEW[src]

Bit 9 - Alarm B enable

pub fn wute(&mut self) -> _WUTEW[src]

Bit 10 - Wakeup timer enable

pub fn tse(&mut self) -> _TSEW[src]

Bit 11 - Time stamp enable

pub fn alraie(&mut self) -> _ALRAIEW[src]

Bit 12 - Alarm A interrupt enable

pub fn alrbie(&mut self) -> _ALRBIEW[src]

Bit 13 - Alarm B interrupt enable

pub fn wutie(&mut self) -> _WUTIEW[src]

Bit 14 - Wakeup timer interrupt enable

pub fn tsie(&mut self) -> _TSIEW[src]

Bit 15 - Time-stamp interrupt enable

pub fn add1h(&mut self) -> _ADD1HW[src]

Bit 16 - Add 1 hour (summer time change)

pub fn sub1h(&mut self) -> _SUB1HW[src]

Bit 17 - Subtract 1 hour (winter time change)

pub fn bkp(&mut self) -> _BKPW[src]

Bit 18 - Backup

pub fn cosel(&mut self) -> _COSELW[src]

Bit 19 - Calibration output selection

pub fn pol(&mut self) -> _POLW[src]

Bit 20 - Output polarity

pub fn osel(&mut self) -> _OSELW[src]

Bits 21:22 - Output selection

pub fn coe(&mut self) -> _COEW[src]

Bit 23 - Calibration output enable

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

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

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, 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