[][src]Struct nrf52810_pac::saadc::ch::config::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 resp(&self) -> RESPR[src]

Bits 0:1 - Positive channel resistor control

pub fn resn(&self) -> RESNR[src]

Bits 4:5 - Negative channel resistor control

pub fn gain(&self) -> GAINR[src]

Bits 8:10 - Gain control

pub fn refsel(&self) -> REFSELR[src]

Bit 12 - Reference control

pub fn tacq(&self) -> TACQR[src]

Bits 16:18 - Acquisition time, the time the ADC uses to sample the input voltage

pub fn mode(&self) -> MODER[src]

Bit 20 - Enable differential mode

pub fn burst(&self) -> BURSTR[src]

Bit 24 - Enable burst mode

Auto Trait Implementations

impl Send for R

impl Sync for R

Blanket Implementations

impl<T> From for T[src]

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

type Error = !

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

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

🔬 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]