Enum stm32f103xx::rcc::cfgr::SWR [−][src]
pub enum SWR {
HSI,
HSE,
PLL,
_Reserved(u8),
}Possible values of the field SW
Variants
HSIHSI selected as system clock
HSEHSE selected as system clock
PLLPLL selected as system clock
_Reserved(u8)Reserved
Methods
impl SWR[src]
impl SWRpub 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 SWR[src]
impl Clone for SWRfn clone(&self) -> SWR[src]
fn clone(&self) -> SWRReturns 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 SWR[src]
impl Copy for SWRimpl Debug for SWR[src]
impl Debug for SWRfn 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 SWR[src]
impl PartialEq for SWR