[][src]Struct stm32f3xx_hal_v2::pac::rtc::tafcr::TAMPFREQ_W

pub struct TAMPFREQ_W<'a> { /* fields omitted */ }

Write proxy for field TAMPFREQ

Implementations

impl<'a> TAMPFREQ_W<'a>[src]

pub fn variant(self, variant: TAMPFREQ_A) -> &'a mut W<u32, Reg<u32, _TAFCR>>[src]

Writes variant to the field

pub fn div32768(self) -> &'a mut W<u32, Reg<u32, _TAFCR>>[src]

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

pub fn div16384(self) -> &'a mut W<u32, Reg<u32, _TAFCR>>[src]

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

pub fn div8192(self) -> &'a mut W<u32, Reg<u32, _TAFCR>>[src]

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

pub fn div4096(self) -> &'a mut W<u32, Reg<u32, _TAFCR>>[src]

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

pub fn div2048(self) -> &'a mut W<u32, Reg<u32, _TAFCR>>[src]

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

pub fn div1024(self) -> &'a mut W<u32, Reg<u32, _TAFCR>>[src]

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

pub fn div512(self) -> &'a mut W<u32, Reg<u32, _TAFCR>>[src]

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

pub fn div256(self) -> &'a mut W<u32, Reg<u32, _TAFCR>>[src]

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

pub fn bits(self, value: u8) -> &'a mut W<u32, Reg<u32, _TAFCR>>[src]

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Send for TAMPFREQ_W<'a>[src]

impl<'a> !Sync for TAMPFREQ_W<'a>[src]

impl<'a> Unpin for TAMPFREQ_W<'a>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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