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]
impl RTCSELRpub fn bits(&self) -> u8[src]
pub fn bits(&self) -> u8Value of the field as raw bits
pub fn is_no_clk(&self) -> bool[src]
pub fn is_no_clk(&self) -> boolChecks if the value of the field is NOCLK
pub fn is_lse(&self) -> bool[src]
pub fn is_lse(&self) -> boolChecks if the value of the field is LSE
pub fn is_lsi(&self) -> bool[src]
pub fn is_lsi(&self) -> boolChecks if the value of the field is LSI
pub fn is_hse(&self) -> bool[src]
pub fn is_hse(&self) -> boolChecks if the value of the field is HSE
Trait Implementations
impl Clone for RTCSELR[src]
impl Clone for RTCSELRfn clone(&self) -> RTCSELR[src]
fn clone(&self) -> RTCSELRReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for RTCSELR[src]
impl Copy for RTCSELRimpl Debug for RTCSELR[src]
impl Debug for RTCSELRfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for RTCSELR[src]
impl PartialEq for RTCSELR