[][src]Struct stm32g0::stm32g0x1::adc::cfgr1::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 Self[src]

Writes raw bits to the register

pub fn awdch1ch(&mut self) -> _AWDCH1CHW[src]

Bits 26:30 - ADC analog watchdog 1 monitored channel selection

pub fn awd1en(&mut self) -> _AWD1ENW[src]

Bit 23 - ADC analog watchdog 1 enable on scope ADC group regular

pub fn awd1sgl(&mut self) -> _AWD1SGLW[src]

Bit 22 - ADC analog watchdog 1 monitoring a single channel or all channels

pub fn chselrmod(&mut self) -> _CHSELRMODW[src]

Bit 21 - Mode selection of the ADC_CHSELR register

pub fn discen(&mut self) -> _DISCENW[src]

Bit 16 - ADC group regular sequencer discontinuous mode

pub fn autoff(&mut self) -> _AUTOFFW[src]

Bit 15 - Auto-off mode

pub fn wait(&mut self) -> _WAITW[src]

Bit 14 - Wait conversion mode

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

Bit 13 - ADC group regular continuous conversion mode

pub fn ovrmod(&mut self) -> _OVRMODW[src]

Bit 12 - ADC group regular overrun configuration

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

Bits 10:11 - ADC group regular external trigger polarity

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

Bits 6:8 - ADC group regular external trigger source

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

Bit 5 - ADC data alignement

pub fn res(&mut self) -> _RESW[src]

Bits 3:4 - ADC data resolution

pub fn scandir(&mut self) -> _SCANDIRW[src]

Bit 2 - Scan sequence direction

pub fn dmacfg(&mut self) -> _DMACFGW[src]

Bit 1 - ADC DMA transfer configuration

pub fn dmaen(&mut self) -> _DMAENW[src]

Bit 0 - ADC DMA transfer enable

Auto Trait Implementations

impl Send for W

impl Sync 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