[][src]Enum stm32l0xx_hal::device::adc::cfgr2::CKMODER

pub enum CKMODER {
    ADCLK,
    PCLK_DIV2,
    PCLK_DIV4,
    PCLK,
}

Possible values of the field CKMODE

Variants

ADCLK

ADCCLK (Asynchronous clock mode)

PCLK_DIV2

PCLK/2 (Synchronous clock mode)

PCLK_DIV4

PCLK/4 (Synchronous clock mode)

PCLK

PCLK (Synchronous clock mode)

Methods

impl CKMODER[src]

pub fn bits(&self) -> u8[src]

Value of the field as raw bits

pub fn is_adclk(&self) -> bool[src]

Checks if the value of the field is ADCLK

pub fn is_pclk_div2(&self) -> bool[src]

Checks if the value of the field is PCLK_DIV2

pub fn is_pclk_div4(&self) -> bool[src]

Checks if the value of the field is PCLK_DIV4

pub fn is_pclk(&self) -> bool[src]

Checks if the value of the field is PCLK

Trait Implementations

impl PartialEq<CKMODER> for CKMODER[src]

impl Debug for CKMODER[src]

impl Copy for CKMODER[src]

impl Clone for CKMODER[src]

Auto Trait Implementations

impl Unpin for CKMODER

impl Send for CKMODER

impl Sync for CKMODER

Blanket Implementations

impl<T> From<T> for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

impl<T, U> TryInto<U> 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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self