[][src]Struct stm32g0::stm32g0x1::adc::cfgr1::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R[src]

pub fn bits(&self) -> u32[src]

Value of the register as raw bits

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

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

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

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

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

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

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

Bit 21 - Mode selection of the ADC_CHSELR register

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

Bit 16 - ADC group regular sequencer discontinuous mode

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

Bit 15 - Auto-off mode

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

Bit 14 - Wait conversion mode

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

Bit 13 - ADC group regular continuous conversion mode

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

Bit 12 - ADC group regular overrun configuration

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

Bits 10:11 - ADC group regular external trigger polarity

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

Bits 6:8 - ADC group regular external trigger source

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

Bit 5 - ADC data alignement

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

Bits 3:4 - ADC data resolution

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

Bit 2 - Scan sequence direction

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

Bit 1 - ADC DMA transfer configuration

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

Bit 0 - ADC DMA transfer enable

Auto Trait Implementations

impl Send for R

impl Sync for R

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