[]Enum stm32f407g_disc::stm32::rcc::cfgr::MCO2R

pub enum MCO2R {
    SYSCLK,
    PLLI2S,
    HSE,
    PLL,
}

Possible values of the field MCO2

Variants

SYSCLK

System clock (SYSCLK) selected

PLLI2S

PLLI2S clock selected

HSE

HSE oscillator clock selected

PLL

PLL clock selected

Methods

impl MCO2R

pub fn bits(&self) -> u8

Value of the field as raw bits

pub fn is_sysclk(&self) -> bool

Checks if the value of the field is SYSCLK

pub fn is_plli2s(&self) -> bool

Checks if the value of the field is PLLI2S

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<MCO2R> for MCO2R

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Debug for MCO2R

impl Copy for MCO2R

impl Clone for MCO2R

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for MCO2R

impl Sync for MCO2R

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]