[]Enum stm32f407g_disc::adc_common::ccr::MULTIR

pub enum MULTIR {
    INDEPENDENT,
    DUALRJ,
    DUALRA,
    DUALJ,
    DUALR,
    DUALI,
    DUALA,
    TRIPLERJ,
    TRIPLERA,
    TRIPLEJ,
    TRIPLER,
    TRIPLEI,
    TRIPLEA,
    _Reserved(u8),
}

Possible values of the field MULTI

Variants

INDEPENDENT

All the ADCs independent: independent mode

DUALRJ

Dual ADC1 and ADC2, combined regular and injected simultaneous mode

DUALRA

Dual ADC1 and ADC2, combined regular and alternate trigger mode

DUALJ

Dual ADC1 and ADC2, injected simultaneous mode only

DUALR

Dual ADC1 and ADC2, regular simultaneous mode only

DUALI

Dual ADC1 and ADC2, interleaved mode only

DUALA

Dual ADC1 and ADC2, alternate trigger mode only

TRIPLERJ

Triple ADC, regular and injected simultaneous mode

TRIPLERA

Triple ADC, regular and alternate trigger mode

TRIPLEJ

Triple ADC, injected simultaneous mode only

TRIPLER

Triple ADC, regular simultaneous mode only

TRIPLEI

Triple ADC, interleaved mode only

TRIPLEA

Triple ADC, alternate trigger mode only

_Reserved(u8)

Reserved

Methods

impl MULTIR

pub fn bits(&self) -> u8

Value of the field as raw bits

pub fn is_independent(&self) -> bool

Checks if the value of the field is INDEPENDENT

pub fn is_dual_rj(&self) -> bool

Checks if the value of the field is DUALRJ

pub fn is_dual_ra(&self) -> bool

Checks if the value of the field is DUALRA

pub fn is_dual_j(&self) -> bool

Checks if the value of the field is DUALJ

pub fn is_dual_r(&self) -> bool

Checks if the value of the field is DUALR

pub fn is_dual_i(&self) -> bool

Checks if the value of the field is DUALI

pub fn is_dual_a(&self) -> bool

Checks if the value of the field is DUALA

pub fn is_triple_rj(&self) -> bool

Checks if the value of the field is TRIPLERJ

pub fn is_triple_ra(&self) -> bool

Checks if the value of the field is TRIPLERA

pub fn is_triple_j(&self) -> bool

Checks if the value of the field is TRIPLEJ

pub fn is_triple_r(&self) -> bool

Checks if the value of the field is TRIPLER

pub fn is_triple_i(&self) -> bool

Checks if the value of the field is TRIPLEI

pub fn is_triple_a(&self) -> bool

Checks if the value of the field is TRIPLEA

Trait Implementations

impl PartialEq<MULTIR> for MULTIR

impl Debug for MULTIR

impl Copy for MULTIR

impl Clone for MULTIR

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

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for MULTIR

impl Sync for MULTIR

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

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]