[][src]Type Definition nrf51::adc::config::R

type R = R<u32, CONFIG>;

Reader of register CONFIG

Methods

impl R[src]

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

Bits 0:1 - ADC resolution.

pub fn inpsel(&self) -> INPSEL_R[src]

Bits 2:4 - ADC input selection.

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

Bits 5:6 - ADC reference selection.

pub fn psel(&self) -> PSEL_R[src]

Bits 8:15 - ADC analog pin selection.

pub fn extrefsel(&self) -> EXTREFSEL_R[src]

Bits 16:17 - ADC external reference pin selection.