[][src]Enum stm32l0xx_hal::device::rtc::cr::WUCKSELR

pub enum WUCKSELR {
    DIV16,
    DIV8,
    DIV4,
    DIV2,
    CLOCKSPARE,
    CLOCKSPAREWITHOFFSET,
    _Reserved(u8),
}

Possible values of the field WUCKSEL

Variants

DIV16

RTC/16 clock is selected

DIV8

RTC/8 clock is selected

DIV4

RTC/4 clock is selected

DIV2

RTC/2 clock is selected

CLOCKSPARE

ck_spre (usually 1 Hz) clock is selected

CLOCKSPAREWITHOFFSET

ck_spre (usually 1 Hz) clock is selected and 216 is added to the WUT counter value

_Reserved(u8)

Reserved

Methods

impl WUCKSELR[src]

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

Value of the field as raw bits

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

Checks if the value of the field is DIV16

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

Checks if the value of the field is DIV8

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

Checks if the value of the field is DIV4

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

Checks if the value of the field is DIV2

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

Checks if the value of the field is CLOCKSPARE

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

Checks if the value of the field is CLOCKSPAREWITHOFFSET

Trait Implementations

impl PartialEq<WUCKSELR> for WUCKSELR[src]

impl Debug for WUCKSELR[src]

impl Copy for WUCKSELR[src]

impl Clone for WUCKSELR[src]

Auto Trait Implementations

impl Unpin for WUCKSELR

impl Send for WUCKSELR

impl Sync for WUCKSELR

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