[][src]Enum stm32l0xx_hal::pac::adc::smpr::SMPR

pub enum SMPR {
    CYCLES1_5,
    CYCLES3_5,
    CYCLES7_5,
    CYCLES12_5,
    CYCLES19_5,
    CYCLES39_5,
    CYCLES79_5,
    CYCLES160_5,
}

Possible values of the field SMP

Variants

CYCLES1_5

1.5 ADC clock cycles

CYCLES3_5

3.5 ADC clock cycles

CYCLES7_5

7.5 ADC clock cycles

CYCLES12_5

12.5 ADC clock cycles

CYCLES19_5

19.5 ADC clock cycles

CYCLES39_5

39.5 ADC clock cycles

CYCLES79_5

79.5 ADC clock cycles

CYCLES160_5

160.5 ADC clock 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_cycles3_5(&self) -> bool[src]

Checks if the value of the field is CYCLES3_5

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

Checks if the value of the field is CYCLES7_5

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

Checks if the value of the field is CYCLES12_5

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

Checks if the value of the field is CYCLES19_5

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

Checks if the value of the field is CYCLES39_5

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

Checks if the value of the field is CYCLES79_5

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

Checks if the value of the field is CYCLES160_5

Trait Implementations

impl PartialEq<SMPR> for SMPR[src]

impl Debug for SMPR[src]

impl Copy for SMPR[src]

impl Clone for SMPR[src]

Auto Trait Implementations

impl Unpin for SMPR

impl Send for SMPR

impl Sync for SMPR

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