[−]Enum stm32f072b_disco::stm32f0::stm32f0x2::rcc::cfgr::MCOR
Possible values of the field MCO
Variants
HSI14
Internal RC 14 MHz (HSI14) oscillator clock selected
HSI48
Internal RC 48 MHz (HSI48) oscillator clock selected
NOMCO
MCO output disabled, no clock on MCO
LSI
Internal low speed (LSI) oscillator clock selected
LSE
External low speed (LSE) oscillator clock selected
SYSCLK
System clock selected
HSI
Internal RC 8 MHz (HSI) oscillator clock selected
HSE
External 4-32 MHz (HSE) oscillator clock selected
PLL
PLL clock selected (divided by 1 or 2, depending en PLLNODIV)
_Reserved(u8)
Reserved
Methods
impl MCOR
pub fn bits(&self) -> u8
Value of the field as raw bits
pub fn is_hsi14(&self) -> bool
Checks if the value of the field is HSI14
pub fn is_hsi48(&self) -> bool
Checks if the value of the field is HSI48
pub fn is_no_mco(&self) -> bool
Checks if the value of the field is NOMCO
pub fn is_lsi(&self) -> bool
Checks if the value of the field is LSI
pub fn is_lse(&self) -> bool
Checks if the value of the field is LSE
pub fn is_sysclk(&self) -> bool
Checks if the value of the field is SYSCLK
pub fn is_hsi(&self) -> bool
Checks if the value of the field is HSI
pub fn is_hse(&self) -> bool
Checks if the value of the field is HSE
pub fn is_pll(&self) -> bool
Checks if the value of the field is PLL
Trait Implementations
impl PartialEq<MCOR> for MCOR
impl Clone for MCOR
fn clone(&self) -> MCOR
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for MCOR
impl Debug for MCOR
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> From for T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same for T
type Output = T
Should always be Self