atsamd11d::adc::avgctrl

Type Alias W

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

Register AVGCTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn samplenum(&mut self) -> SamplenumW<'_, AvgctrlSpec>

Bits 0:3 - Number of Samples to be Collected

Source

pub fn adjres(&mut self) -> AdjresW<'_, AvgctrlSpec>

Bits 4:6 - Adjusting Result / Division Coefficient