Enum stm32f103xx::rcc::bdcr::RTCSELR [−][src]
pub enum RTCSELR { NOCLK, LSE, LSI, HSE, }
Possible values of the field RTCSEL
Variants
NOCLK
No clock
LSE
LSE oscillator clock used as RTC clock
LSI
LSI oscillator clock used as RTC clock
HSE
HSE oscillator clock divided by 128 used as RTC clock
Methods
impl RTCSELR
[src]
impl RTCSELR
pub fn bits(&self) -> u8
[src]
pub fn bits(&self) -> u8
Value of the field as raw bits
pub fn is_no_clk(&self) -> bool
[src]
pub fn is_no_clk(&self) -> bool
Checks if the value of the field is NOCLK
pub fn is_lse(&self) -> bool
[src]
pub fn is_lse(&self) -> bool
Checks if the value of the field is LSE
pub fn is_lsi(&self) -> bool
[src]
pub fn is_lsi(&self) -> bool
Checks if the value of the field is LSI
pub fn is_hse(&self) -> bool
[src]
pub fn is_hse(&self) -> bool
Checks if the value of the field is HSE
Trait Implementations
impl Clone for RTCSELR
[src]
impl Clone for RTCSELR
fn clone(&self) -> RTCSELR
[src]
fn clone(&self) -> RTCSELR
Returns 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 RTCSELR
impl Debug for RTCSELR
[src]
impl Debug for RTCSELR
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for RTCSELR
[src]
impl PartialEq for RTCSELR