Enum stm32f103xx::rcc::cfgr::SWSR
[−]
[src]
pub enum SWSR { HSI, HSE, PLL, _Reserved(u8), }
Possible values of the field SWS
Variants
HSI
HSI selected as system clock
HSE
HSE selected as system clock
PLL
PLL selected as system clock
_Reserved(u8)
Reserved
Methods
impl SWSR
[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 SWSR
[src]
fn clone(&self) -> SWSR
[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 SWSR
[src]
impl Debug for SWSR
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more