Enum stm32f103xx::rcc::cfgr::SWSR [−][src]
pub enum SWSR {
HSI,
HSE,
PLL,
_Reserved(u8),
}Possible values of the field SWS
Variants
HSIHSI selected as system clock
HSEHSE selected as system clock
PLLPLL selected as system clock
_Reserved(u8)Reserved
Methods
impl SWSR[src]
impl SWSRpub fn bits(&self) -> u8[src]
pub fn bits(&self) -> u8Value of the field as raw bits
pub fn is_hsi(&self) -> bool[src]
pub fn is_hsi(&self) -> boolChecks if the value of the field is HSI
pub fn is_hse(&self) -> bool[src]
pub fn is_hse(&self) -> boolChecks if the value of the field is HSE
pub fn is_pll(&self) -> bool[src]
pub fn is_pll(&self) -> boolChecks if the value of the field is PLL
Trait Implementations
impl Clone for SWSR[src]
impl Clone for SWSRfn clone(&self) -> SWSR[src]
fn clone(&self) -> SWSRReturns 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 SWSR[src]
impl Copy for SWSRimpl Debug for SWSR[src]
impl Debug for SWSRfn 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 SWSR[src]
impl PartialEq for SWSR