Enum stm32f103xx::rcc::cfgr::SWR
[−]
[src]
pub enum SWR { HSI, HSE, PLL, _Reserved(u8), }
Possible values of the field SW
Variants
HSI
HSI selected as system clock
HSE
HSE selected as system clock
PLL
PLL selected as system clock
_Reserved(u8)
Reserved
Methods
impl SWR
[src]
pub fn bits(&self) -> u8
[src]
Value of the field as raw bits
pub fn is_hsi(&self) -> bool
[src]
Checks if the value of the field is HSI
pub fn is_hse(&self) -> bool
[src]
Checks if the value of the field is HSE
pub fn is_pll(&self) -> bool
[src]
Checks if the value of the field is PLL
Trait Implementations
impl Clone for SWR
[src]
fn clone(&self) -> SWR
[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 SWR
[src]
impl Debug for SWR
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more