atsamd21g::adc::avgctrl

Type Alias R

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

Register AVGCTRL reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn samplenum(&self) -> SamplenumR

Bits 0:3 - Number of Samples to be Collected

Source

pub fn adjres(&self) -> AdjresR

Bits 4:6 - Adjusting Result / Division Coefficient