Struct samd21g18a::adc::avgctrl::W [−][src]
pub struct W { /* fields omitted */ }
Value to write to the register
Methods
impl W
[src]
impl W
pub fn reset_value() -> W
[src]
pub fn reset_value() -> W
Reset value of the register
pub unsafe fn bits(&mut self, bits: u8) -> &mut Self
[src]
pub unsafe fn bits(&mut self, bits: u8) -> &mut Self
Writes raw bits to the register
pub fn samplenum(&mut self) -> _SAMPLENUMW
[src]
pub fn samplenum(&mut self) -> _SAMPLENUMW
Bits 0:3 - Number of Samples to be Collected
pub fn adjres(&mut self) -> _ADJRESW
[src]
pub fn adjres(&mut self) -> _ADJRESW
Bits 4:6 - Adjusting Result / Division Coefficient