[][src]Enum stm32l0xx_hal::stm32::rtc::tampcr::TAMPFREQR

pub enum TAMPFREQR {
    DIV32768,
    DIV16384,
    DIV8192,
    DIV4096,
    DIV2048,
    DIV1024,
    DIV512,
    DIV256,
}

Possible values of the field TAMPFREQ

Variants

DIV32768

RTCCLK / 32768 (1 Hz when RTCCLK = 32768 Hz)

DIV16384

RTCCLK / 16384 (2 Hz when RTCCLK = 32768 Hz)

DIV8192

RTCCLK / 8192 (4 Hz when RTCCLK = 32768 Hz)

DIV4096

RTCCLK / 4096 (8 Hz when RTCCLK = 32768 Hz)

DIV2048

RTCCLK / 2048 (16 Hz when RTCCLK = 32768 Hz)

DIV1024

RTCCLK / 1024 (32 Hz when RTCCLK = 32768 Hz)

DIV512

RTCCLK / 512 (64 Hz when RTCCLK = 32768 Hz)

DIV256

RTCCLK / 256 (128 Hz when RTCCLK = 32768 Hz)

Methods

impl TAMPFREQR[src]

pub fn bits(&self) -> u8[src]

Value of the field as raw bits

pub fn is_div32768(&self) -> bool[src]

Checks if the value of the field is DIV32768

pub fn is_div16384(&self) -> bool[src]

Checks if the value of the field is DIV16384

pub fn is_div8192(&self) -> bool[src]

Checks if the value of the field is DIV8192

pub fn is_div4096(&self) -> bool[src]

Checks if the value of the field is DIV4096

pub fn is_div2048(&self) -> bool[src]

Checks if the value of the field is DIV2048

pub fn is_div1024(&self) -> bool[src]

Checks if the value of the field is DIV1024

pub fn is_div512(&self) -> bool[src]

Checks if the value of the field is DIV512

pub fn is_div256(&self) -> bool[src]

Checks if the value of the field is DIV256

Trait Implementations

impl PartialEq<TAMPFREQR> for TAMPFREQR[src]

impl Debug for TAMPFREQR[src]

impl Copy for TAMPFREQR[src]

impl Clone for TAMPFREQR[src]

Auto Trait Implementations

impl Unpin for TAMPFREQR

impl Send for TAMPFREQR

impl Sync for TAMPFREQR

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