[][src]Type Definition nrf52832_pac::saadc::ch::config::R

type R = R<u32, CONFIG>;

Reader of register CONFIG

Methods

impl R[src]

pub fn resp(&self) -> RESP_R[src]

Bits 0:1 - Positive channel resistor control

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

Bits 4:5 - Negative channel resistor control

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

Bits 8:10 - Gain control

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

Bit 12 - Reference control

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

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

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

Bit 20 - Enable differential mode

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

Bit 24 - Enable burst mode