[][src]Struct efm32gg11b820::adc0::singlectrl::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 rep(&mut self) -> _REPW[src]

Bit 0 - Single Channel Repetitive Mode

pub fn diff(&mut self) -> _DIFFW[src]

Bit 1 - Single Channel Differential Mode

pub fn adj(&mut self) -> _ADJW[src]

Bit 2 - Single Channel Result Adjustment

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

Bits 3:4 - Single Channel Resolution Select

pub fn ref_(&mut self) -> _REFW[src]

Bits 5:7 - Single Channel Reference Selection

pub fn possel(&mut self) -> _POSSELW[src]

Bits 8:15 - Single Channel Positive Input Selection

pub fn negsel(&mut self) -> _NEGSELW[src]

Bits 16:23 - Single Channel Negative Input Selection

pub fn at(&mut self) -> _ATW[src]

Bits 24:27 - Single Channel Acquisition Time

pub fn prsen(&mut self) -> _PRSENW[src]

Bit 29 - Single Channel PRS Trigger Enable

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

Bit 31 - Compare Logic Enable for Single Channel

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