[][src]Struct efm32gg11b820::adc1::singlectrlx::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 vrefsel(&mut self) -> _VREFSELW[src]

Bits 0:2 - Single Channel Reference Selection

pub fn vrefattfix(&mut self) -> _VREFATTFIXW[src]

Bit 3 - Enable Fixed Scaling on VREF

pub fn vrefatt(&mut self) -> _VREFATTW[src]

Bits 4:7 - Code for VREF Attenuation Factor When VREFSEL is 1, 2 or 5

pub fn vinatt(&mut self) -> _VINATTW[src]

Bits 8:11 - Code for VIN Attenuation Factor

pub fn dvl(&mut self) -> _DVLW[src]

Bits 12:13 - Single Channel DV Level Select

pub fn fifoofact(&mut self) -> _FIFOOFACTW[src]

Bit 14 - Single Channel FIFO Overflow Action

pub fn prsmode(&mut self) -> _PRSMODEW[src]

Bit 16 - Single Channel PRS Trigger Mode

pub fn prssel(&mut self) -> _PRSSELW[src]

Bits 17:21 - Single Channel PRS Trigger Select

pub fn convstartdelay(&mut self) -> _CONVSTARTDELAYW[src]

Bits 22:26 - Delay Value for Next Conversion Start If CONVSTARTDELAYEN is Set

pub fn convstartdelayen(&mut self) -> _CONVSTARTDELAYENW[src]

Bit 27 - Enable Delaying Next Conversion Start

pub fn repdelay(&mut self) -> _REPDELAYW[src]

Bits 29:31 - REPDELAY Select for SINGLE REP Mode

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto 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, 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]

impl<T> Same for T

type Output = T

Should always be Self