[]Enum stm32f072b_disco::rcc::cfgr::MCOR

pub enum MCOR {
    HSI14,
    HSI48,
    NOMCO,
    LSI,
    LSE,
    SYSCLK,
    HSI,
    HSE,
    PLL,
    _Reserved(u8),
}

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_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

impl Send for MCOR

impl Sync for MCOR

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T

type Output = T

Should always be Self