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

pub enum OVSRR {
    MUL2,
    MUL4,
    MUL8,
    MUL16,
    MUL32,
    MUL64,
    MUL128,
    MUL256,
}

Possible values of the field OVSR

Variants

MUL2

2x

MUL4

4x

MUL8

8x

MUL16

16x

MUL32

32x

MUL64

64x

MUL128

128x

MUL256

256x

Methods

impl OVSRR[src]

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

Value of the field as raw bits

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

Checks if the value of the field is MUL2

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

Checks if the value of the field is MUL4

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

Checks if the value of the field is MUL8

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

Checks if the value of the field is MUL16

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

Checks if the value of the field is MUL32

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

Checks if the value of the field is MUL64

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

Checks if the value of the field is MUL128

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

Checks if the value of the field is MUL256

Trait Implementations

impl PartialEq<OVSRR> for OVSRR[src]

impl Debug for OVSRR[src]

impl Copy for OVSRR[src]

impl Clone for OVSRR[src]

Auto Trait Implementations

impl Unpin for OVSRR

impl Send for OVSRR

impl Sync for OVSRR

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