Enum stm32f103xx::rcc::bdcr::RTCSELR
[−]
[src]
pub enum RTCSELR {
NOCLK,
LSE,
LSI,
HSE,
}Possible values of the field RTCSEL
Variants
NOCLKNo clock
LSELSE oscillator clock used as RTC clock
LSILSI oscillator clock used as RTC clock
HSEHSE oscillator clock divided by 128 used as RTC clock
Methods
impl RTCSELR[src]
pub fn bits(&self) -> u8[src]
Value of the field as raw bits
pub fn is_no_clk(&self) -> bool[src]
Checks if the value of the field is NOCLK
pub fn is_lse(&self) -> bool[src]
Checks if the value of the field is LSE
pub fn is_lsi(&self) -> bool[src]
Checks if the value of the field is LSI
pub fn is_hse(&self) -> bool[src]
Checks if the value of the field is HSE
Trait Implementations
impl Clone for RTCSELR[src]
fn clone(&self) -> RTCSELR[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for RTCSELR[src]
impl Debug for RTCSELR[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more