atsamd21g::adc::ctrlb

Type Alias R

Source
pub type R = R<CtrlbSpec>;
Expand description

Register CTRLB reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn diffmode(&self) -> DiffmodeR

Bit 0 - Differential Mode

Source

pub fn leftadj(&self) -> LeftadjR

Bit 1 - Left-Adjusted Result

Source

pub fn freerun(&self) -> FreerunR

Bit 2 - Free Running Mode

Source

pub fn corren(&self) -> CorrenR

Bit 3 - Digital Correction Logic Enabled

Source

pub fn ressel(&self) -> ResselR

Bits 4:5 - Conversion Result Resolution

Source

pub fn prescaler(&self) -> PrescalerR

Bits 8:10 - Prescaler Configuration