[][src]Struct stm32l1xx_hal::stm32::adc::cr2::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

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

Writes raw bits to the register

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

Bit 30 - Start conversion of regular channels

pub fn exten(&mut self) -> _EXTENW[src]

Bits 28:29 - External trigger enable for regular channels

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

Bits 24:27 - External event select for regular group

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

Bit 22 - Start conversion of injected channels

pub fn jexten(&mut self) -> _JEXTENW[src]

Bits 20:21 - External trigger enable for injected channels

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

Bits 16:19 - External event select for injected group

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

Bit 11 - Data alignment

pub fn eocs(&mut self) -> _EOCSW[src]

Bit 10 - End of conversion selection

pub fn dds(&mut self) -> _DDSW[src]

Bit 9 - DMA disable selection

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

Bit 8 - Direct memory access mode

pub fn dels(&mut self) -> _DELSW[src]

Bits 4:6 - Delay selection

pub fn adc_cfg(&mut self) -> _ADC_CFGW[src]

Bit 2 - ADC configuration

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 Send for W

impl Sync for W

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]