[][src]Struct stm32f0xx_hal::stm32::rtc::tafcr::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 W[src]

Writes raw bits to the register

pub fn pc15mode(&mut self) -> _PC15MODEW[src]

Bit 23 - PC15 mode

pub fn pc15value(&mut self) -> _PC15VALUEW[src]

Bit 22 - PC15 value

pub fn pc14mode(&mut self) -> _PC14MODEW[src]

Bit 21 - PC14 mode

pub fn pc14value(&mut self) -> _PC14VALUEW[src]

Bit 20 - PC14 value

pub fn pc13mode(&mut self) -> _PC13MODEW[src]

Bit 19 - PC13 mode

pub fn pc13value(&mut self) -> _PC13VALUEW[src]

Bit 18 - RTC_ALARM output type/PC13 value

pub fn tamp_pudis(&mut self) -> _TAMP_PUDISW[src]

Bit 15 - RTC_TAMPx pull-up disable

pub fn tamp_prch(&mut self) -> _TAMP_PRCHW[src]

Bits 13:14 - RTC_TAMPx precharge duration

pub fn tampflt(&mut self) -> _TAMPFLTW[src]

Bits 11:12 - RTC_TAMPx filter count

pub fn tampfreq(&mut self) -> _TAMPFREQW[src]

Bits 8:10 - Tamper sampling frequency

pub fn tampts(&mut self) -> _TAMPTSW[src]

Bit 7 - Activate timestamp on tamper detection event

pub fn tamp2_trg(&mut self) -> _TAMP2_TRGW[src]

Bit 4 - Active level for RTC_TAMP2 input

pub fn tamp2e(&mut self) -> _TAMP2EW[src]

Bit 3 - RTC_TAMP2 input detection enable

pub fn tampie(&mut self) -> _TAMPIEW[src]

Bit 2 - Tamper interrupt enable

pub fn tamp1trg(&mut self) -> _TAMP1TRGW[src]

Bit 1 - Active level for RTC_TAMP1 input

pub fn tamp1e(&mut self) -> _TAMP1EW[src]

Bit 0 - RTC_TAMP1 input detection enable

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

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

type Error = Infallible

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

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]

impl<T> Same for T

type Output = T

Should always be Self