[]Struct nucleo_f042k6::rtc::tafcr::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 pc15mode(&mut self) -> _PC15MODEW

Bit 23 - PC15 mode

pub fn pc15value(&mut self) -> _PC15VALUEW

Bit 22 - PC15 value

pub fn pc14mode(&mut self) -> _PC14MODEW

Bit 21 - PC14 mode

pub fn pc14value(&mut self) -> _PC14VALUEW

Bit 20 - PC14 value

pub fn pc13mode(&mut self) -> _PC13MODEW

Bit 19 - PC13 mode

pub fn pc13value(&mut self) -> _PC13VALUEW

Bit 18 - RTC_ALARM output type/PC13 value

pub fn tamp_pudis(&mut self) -> _TAMP_PUDISW

Bit 15 - RTC_TAMPx pull-up disable

pub fn tamp_prch(&mut self) -> _TAMP_PRCHW

Bits 13:14 - RTC_TAMPx precharge duration

pub fn tampflt(&mut self) -> _TAMPFLTW

Bits 11:12 - RTC_TAMPx filter count

pub fn tampfreq(&mut self) -> _TAMPFREQW

Bits 8:10 - Tamper sampling frequency

pub fn tampts(&mut self) -> _TAMPTSW

Bit 7 - Activate timestamp on tamper detection event

pub fn tamp2_trg(&mut self) -> _TAMP2_TRGW

Bit 4 - Active level for RTC_TAMP2 input

pub fn tamp2e(&mut self) -> _TAMP2EW

Bit 3 - RTC_TAMP2 input detection enable

pub fn tampie(&mut self) -> _TAMPIEW

Bit 2 - Tamper interrupt enable

pub fn tamp1trg(&mut self) -> _TAMP1TRGW

Bit 1 - Active level for RTC_TAMP1 input

pub fn tamp1e(&mut self) -> _TAMP1EW

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