[]Enum nucleo_f401re::adc1::smpr1::SMPX_XR

pub enum SMPX_XR {
    CYCLES3,
    CYCLES15,
    CYCLES28,
    CYCLES56,
    CYCLES84,
    CYCLES112,
    CYCLES144,
    CYCLES480,
    _Reserved(u32),
}

Possible values of the field SMPx_x

Variants

CYCLES3

3 cycles

CYCLES15

15 cycles

CYCLES28

28 cycles

CYCLES56

56 cycles

CYCLES84

84 cycles

CYCLES112

112 cycles

CYCLES144

144 cycles

CYCLES480

480 cycles

_Reserved(u32)

Reserved

Methods

impl SMPX_XR

pub fn bits(&self) -> u32

Value of the field as raw bits

pub fn is_cycles3(&self) -> bool

Checks if the value of the field is CYCLES3

pub fn is_cycles15(&self) -> bool

Checks if the value of the field is CYCLES15

pub fn is_cycles28(&self) -> bool

Checks if the value of the field is CYCLES28

pub fn is_cycles56(&self) -> bool

Checks if the value of the field is CYCLES56

pub fn is_cycles84(&self) -> bool

Checks if the value of the field is CYCLES84

pub fn is_cycles112(&self) -> bool

Checks if the value of the field is CYCLES112

pub fn is_cycles144(&self) -> bool

Checks if the value of the field is CYCLES144

pub fn is_cycles480(&self) -> bool

Checks if the value of the field is CYCLES480

Trait Implementations

impl PartialEq<SMPX_XR> for SMPX_XR

impl Debug for SMPX_XR

impl Copy for SMPX_XR

impl Clone for SMPX_XR

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

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for SMPX_XR

impl Sync for SMPX_XR

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> Into for T where
    U: From<T>, 
[src]

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