[][src]Type Definition nrf52811_pac::saadc::ch::config::W

type W = W<u32, CONFIG>;

Writer for register CONFIG

Implementations

impl W[src]

pub fn resp(&mut self) -> RESP_W<'_>[src]

Bits 0:1 - Positive channel resistor control

pub fn resn(&mut self) -> RESN_W<'_>[src]

Bits 4:5 - Negative channel resistor control

pub fn gain(&mut self) -> GAIN_W<'_>[src]

Bits 8:10 - Gain control

pub fn refsel(&mut self) -> REFSEL_W<'_>[src]

Bit 12 - Reference control

pub fn tacq(&mut self) -> TACQ_W<'_>[src]

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

pub fn mode(&mut self) -> MODE_W<'_>[src]

Bit 20 - Enable differential mode

pub fn burst(&mut self) -> BURST_W<'_>[src]

Bit 24 - Enable burst mode