[]Struct nucleo_f042k6::stm32::adc::cfgr1::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R

pub fn bits(&self) -> u32

Value of the register as raw bits

pub fn awdch(&self) -> AWDCHR

Bits 26:30 - Analog watchdog channel selection

pub fn awden(&self) -> AWDENR

Bit 23 - Analog watchdog enable

pub fn awdsgl(&self) -> AWDSGLR

Bit 22 - Enable the watchdog on a single channel or on all channels

pub fn discen(&self) -> DISCENR

Bit 16 - Discontinuous mode

pub fn autoff(&self) -> AUTOFFR

Bit 15 - Auto-off mode

pub fn autdly(&self) -> AUTDLYR

Bit 14 - Auto-delayed conversion mode

pub fn cont(&self) -> CONTR

Bit 13 - Single / continuous conversion mode

pub fn ovrmod(&self) -> OVRMODR

Bit 12 - Overrun management mode

pub fn exten(&self) -> EXTENR

Bits 10:11 - External trigger enable and polarity selection

pub fn extsel(&self) -> EXTSELR

Bits 6:8 - External trigger selection

pub fn align(&self) -> ALIGNR

Bit 5 - Data alignment

pub fn res(&self) -> RESR

Bits 3:4 - Data resolution

pub fn scandir(&self) -> SCANDIRR

Bit 2 - Scan sequence direction

pub fn dmacfg(&self) -> DMACFGR

Bit 1 - Direct memery access configuration

pub fn dmaen(&self) -> DMAENR

Bit 0 - Direct memory access enable

Auto Trait Implementations

impl Send for R

impl Sync for R

Blanket Implementations

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> From for T
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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