[][src]Struct stm32f1xx_hal::pac::adc1::cr1::DUALMOD_W

pub struct DUALMOD_W<'a> { /* fields omitted */ }

Write proxy for field DUALMOD

Methods

impl<'a> DUALMOD_W<'a>[src]

pub fn variant(self, variant: DUALMOD_A) -> &'a mut W<u32, Reg<u32, _CR1>>[src]

Writes variant to the field

pub fn independent(self) -> &'a mut W<u32, Reg<u32, _CR1>>[src]

Independent mode

pub fn regular_injected(self) -> &'a mut W<u32, Reg<u32, _CR1>>[src]

Combined regular simultaneous + injected simultaneous mode

pub fn regular_alternate_trigger(self) -> &'a mut W<u32, Reg<u32, _CR1>>[src]

Combined regular simultaneous + alternate trigger mode

pub fn injected_fast_interleaved(self) -> &'a mut W<u32, Reg<u32, _CR1>>[src]

Combined injected simultaneous + fast interleaved mode

pub fn injected_slow_interleaved(self) -> &'a mut W<u32, Reg<u32, _CR1>>[src]

Combined injected simultaneous + slow interleaved mode

pub fn injected(self) -> &'a mut W<u32, Reg<u32, _CR1>>[src]

Injected simultaneous mode only

pub fn regular(self) -> &'a mut W<u32, Reg<u32, _CR1>>[src]

Regular simultaneous mode only

pub fn fast_interleaved(self) -> &'a mut W<u32, Reg<u32, _CR1>>[src]

Fast interleaved mode only

pub fn slow_interleaved(self) -> &'a mut W<u32, Reg<u32, _CR1>>[src]

Slow interleaved mode only

pub fn alternate_trigger(self) -> &'a mut W<u32, Reg<u32, _CR1>>[src]

Alternate trigger mode only

pub unsafe fn bits(self, value: u8) -> &'a mut W<u32, Reg<u32, _CR1>>[src]

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Send for DUALMOD_W<'a>

impl<'a> !Sync for DUALMOD_W<'a>

impl<'a> Unpin for DUALMOD_W<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

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