atsamd11c::adc::ctrlb

Type Alias W

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

Register CTRLB writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn diffmode(&mut self) -> DiffmodeW<'_, CtrlbSpec>

Bit 0 - Differential Mode

Source

pub fn leftadj(&mut self) -> LeftadjW<'_, CtrlbSpec>

Bit 1 - Left-Adjusted Result

Source

pub fn freerun(&mut self) -> FreerunW<'_, CtrlbSpec>

Bit 2 - Free Running Mode

Source

pub fn corren(&mut self) -> CorrenW<'_, CtrlbSpec>

Bit 3 - Digital Correction Logic Enabled

Source

pub fn ressel(&mut self) -> ResselW<'_, CtrlbSpec>

Bits 4:5 - Conversion Result Resolution

Source

pub fn prescaler(&mut self) -> PrescalerW<'_, CtrlbSpec>

Bits 8:10 - Prescaler Configuration