pub type W = W<AVGCTRL_SPEC>;
Expand description
Register AVGCTRL
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn samplenum(&mut self) -> SAMPLENUM_W<'_, AVGCTRL_SPEC, 0>
pub fn samplenum(&mut self) -> SAMPLENUM_W<'_, AVGCTRL_SPEC, 0>
Bits 0:3 - Number of Samples to be Collected
sourcepub fn adjres(&mut self) -> ADJRES_W<'_, AVGCTRL_SPEC, 4>
pub fn adjres(&mut self) -> ADJRES_W<'_, AVGCTRL_SPEC, 4>
Bits 4:6 - Adjusting Result / Division Coefficient