[][src]Struct efm32gg11b820::csen::ctrl::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 en(&mut self) -> _ENW[src]

Bit 1 - CSEN Enable

pub fn cmppol(&mut self) -> _CMPPOLW[src]

Bit 2 - CSEN Digital Comparator Polarity Select

pub fn cm(&mut self) -> _CMW[src]

Bits 4:5 - CSEN Conversion Mode Select

pub fn sarcr(&mut self) -> _SARCRW[src]

Bits 8:9 - SAR Conversion Resolution.

pub fn acu(&mut self) -> _ACUW[src]

Bits 12:14 - CSEN Accumulator Mode Select

pub fn mcen(&mut self) -> _MCENW[src]

Bit 15 - CSEN Multiple Channel Enable

pub fn stm(&mut self) -> _STMW[src]

Bits 16:17 - Start Trigger Select

pub fn cmpen(&mut self) -> _CMPENW[src]

Bit 18 - CSEN Digital Comparator Enable

pub fn drsf(&mut self) -> _DRSFW[src]

Bit 19 - CSEN Disable Right-Shift

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

Bit 20 - CSEN DMA Enable Bit

pub fn convsel(&mut self) -> _CONVSELW[src]

Bit 21 - CSEN Converter Select

pub fn chopen(&mut self) -> _CHOPENW[src]

Bit 22 - CSEN Chop Enable

pub fn autognd(&mut self) -> _AUTOGNDW[src]

Bit 23 - CSEN Automatic Ground Enable

pub fn mxuc(&mut self) -> _MXUCW[src]

Bit 24 - CSEN Mux Disconnect

pub fn emacmpen(&mut self) -> _EMACMPENW[src]

Bit 25 - Greater and Less Than Comparison Using the Exponential Moving Average (EMA) is Enabled

pub fn warmupmode(&mut self) -> _WARMUPMODEW[src]

Bit 26 - Select Warmup Mode for CSEN

pub fn localsens(&mut self) -> _LOCALSENSW[src]

Bit 27 - Local Sensing Enable

pub fn cpaccuracy(&mut self) -> _CPACCURACYW[src]

Bit 28 - Charge Pump Accuracy

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

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> From for T[src]

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