[]Struct nucleo_f042k6::stm32::rtc::tafcr::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R

pub fn bits(&self) -> u32

Value of the register as raw bits

pub fn pc15mode(&self) -> PC15MODER

Bit 23 - PC15 mode

pub fn pc15value(&self) -> PC15VALUER

Bit 22 - PC15 value

pub fn pc14mode(&self) -> PC14MODER

Bit 21 - PC14 mode

pub fn pc14value(&self) -> PC14VALUER

Bit 20 - PC14 value

pub fn pc13mode(&self) -> PC13MODER

Bit 19 - PC13 mode

pub fn pc13value(&self) -> PC13VALUER

Bit 18 - RTC_ALARM output type/PC13 value

pub fn tamp_pudis(&self) -> TAMP_PUDISR

Bit 15 - RTC_TAMPx pull-up disable

pub fn tamp_prch(&self) -> TAMP_PRCHR

Bits 13:14 - RTC_TAMPx precharge duration

pub fn tampflt(&self) -> TAMPFLTR

Bits 11:12 - RTC_TAMPx filter count

pub fn tampfreq(&self) -> TAMPFREQR

Bits 8:10 - Tamper sampling frequency

pub fn tampts(&self) -> TAMPTSR

Bit 7 - Activate timestamp on tamper detection event

pub fn tamp2_trg(&self) -> TAMP2_TRGR

Bit 4 - Active level for RTC_TAMP2 input

pub fn tamp2e(&self) -> TAMP2ER

Bit 3 - RTC_TAMP2 input detection enable

pub fn tampie(&self) -> TAMPIER

Bit 2 - Tamper interrupt enable

pub fn tamp1trg(&self) -> TAMP1TRGR

Bit 1 - Active level for RTC_TAMP1 input

pub fn tamp1e(&self) -> TAMP1ER

Bit 0 - RTC_TAMP1 input detection enable

Auto Trait Implementations

impl Send for R

impl Sync for R

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]