[][src]Struct stm32f3::stm32f3x8::adc1::cr2::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self[src]

Writes raw bits to the register

pub fn tsvrefe(&mut self) -> _TSVREFEW[src]

Bit 23 - Temperature sensor and VREFINT enable

pub fn swstart(&mut self) -> _SWSTARTW[src]

Bit 22 - Start conversion of regular channels

pub fn jswstart(&mut self) -> _JSWSTARTW[src]

Bit 21 - Start conversion of injected channels

pub fn exttrig(&mut self) -> _EXTTRIGW[src]

Bit 20 - External trigger conversion mode for regular channels

pub fn extsel(&mut self) -> _EXTSELW[src]

Bits 17:19 - External event select for regular group

pub fn jexttrig(&mut self) -> _JEXTTRIGW[src]

Bit 15 - External trigger conversion mode for injected channels

pub fn jextsel(&mut self) -> _JEXTSELW[src]

Bits 12:14 - External event select for injected group

pub fn align(&mut self) -> _ALIGNW[src]

Bit 11 - Data alignment

pub fn dma(&mut self) -> _DMAW[src]

Bit 8 - Direct memory access mode

pub fn rstcal(&mut self) -> _RSTCALW[src]

Bit 3 - Reset calibration

pub fn cal(&mut self) -> _CALW[src]

Bit 2 - A/D calibration

pub fn cont(&mut self) -> _CONTW[src]

Bit 1 - Continuous conversion

pub fn adon(&mut self) -> _ADONW[src]

Bit 0 - A/D converter ON / OFF

Auto Trait Implementations

impl Unpin for W

impl Sync for W

impl Send for W

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