Enum MULTIR

Source
pub enum MULTIR {
Show 14 variants INDEPENDENT, DUALRJ, DUALRA, DUALJ, DUALR, DUALI, DUALA, TRIPLERJ, TRIPLERA, TRIPLEJ, TRIPLER, TRIPLEI, TRIPLEA, _Reserved(u8),
}
Expand description

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

Implementations§

Source§

impl MULTIR

Source

pub fn bits(&self) -> u8

Value of the field as raw bits

Source

pub fn is_independent(&self) -> bool

Checks if the value of the field is INDEPENDENT

Source

pub fn is_dual_rj(&self) -> bool

Checks if the value of the field is DUALRJ

Source

pub fn is_dual_ra(&self) -> bool

Checks if the value of the field is DUALRA

Source

pub fn is_dual_j(&self) -> bool

Checks if the value of the field is DUALJ

Source

pub fn is_dual_r(&self) -> bool

Checks if the value of the field is DUALR

Source

pub fn is_dual_i(&self) -> bool

Checks if the value of the field is DUALI

Source

pub fn is_dual_a(&self) -> bool

Checks if the value of the field is DUALA

Source

pub fn is_triple_rj(&self) -> bool

Checks if the value of the field is TRIPLERJ

Source

pub fn is_triple_ra(&self) -> bool

Checks if the value of the field is TRIPLERA

Source

pub fn is_triple_j(&self) -> bool

Checks if the value of the field is TRIPLEJ

Source

pub fn is_triple_r(&self) -> bool

Checks if the value of the field is TRIPLER

Source

pub fn is_triple_i(&self) -> bool

Checks if the value of the field is TRIPLEI

Source

pub fn is_triple_a(&self) -> bool

Checks if the value of the field is TRIPLEA

Trait Implementations§

Source§

impl Clone for MULTIR

Source§

fn clone(&self) -> MULTIR

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for MULTIR

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl PartialEq for MULTIR

Source§

fn eq(&self, other: &MULTIR) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for MULTIR

Source§

impl StructuralPartialEq for MULTIR

Auto Trait Implementations§

§

impl Freeze for MULTIR

§

impl RefUnwindSafe for MULTIR

§

impl Send for MULTIR

§

impl Sync for MULTIR

§

impl Unpin for MULTIR

§

impl UnwindSafe for MULTIR

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.