[][src]Enum stm32f0xx_hal::stm32::adc::smpr::SMPR

pub enum SMPR {
    CYCLES1_5,
    CYCLES7_5,
    CYCLES13_5,
    CYCLES28_5,
    CYCLES41_5,
    CYCLES55_5,
    CYCLES71_5,
    CYCLES239_5,
}

Possible values of the field SMP

Variants

CYCLES1_5

1.5 cycles

CYCLES7_5

7.5 cycles

CYCLES13_5

13.5 cycles

CYCLES28_5

28.5 cycles

CYCLES41_5

41.5 cycles

CYCLES55_5

55.5 cycles

CYCLES71_5

71.5 cycles

CYCLES239_5

239.5 cycles

Methods

impl SMPR[src]

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

Value of the field as raw bits

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

Checks if the value of the field is CYCLES1_5

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

Checks if the value of the field is CYCLES7_5

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

Checks if the value of the field is CYCLES13_5

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

Checks if the value of the field is CYCLES28_5

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

Checks if the value of the field is CYCLES41_5

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

Checks if the value of the field is CYCLES55_5

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

Checks if the value of the field is CYCLES71_5

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

Checks if the value of the field is CYCLES239_5

Trait Implementations

impl Clone for SMPR[src]

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

Performs copy-assignment from source. Read more

impl Copy for SMPR[src]

impl Debug for SMPR[src]

impl PartialEq<SMPR> for SMPR[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for SMPR

impl Sync for SMPR

Blanket Implementations

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> From<T> for 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