Struct nrf52::saadc::OVERSAMPLE
[−]
[src]
pub struct OVERSAMPLE { /* fields omitted */ }
Oversampling configuration. OVERSAMPLE should not be combined with SCAN. The RESOLUTION is applied before averaging, thus for high OVERSAMPLE a higher RESOLUTION should be used.
Methods
impl OVERSAMPLE
[src]
fn modify<F>(&self, f: F) where
F: FnOnce(&R, &'w mut W) -> &'w mut W,
[src]
F: FnOnce(&R, &'w mut W) -> &'w mut W,
Modifies the contents of the register
fn read(&self) -> R
[src]
Reads the contents of the register
fn write<F>(&self, f: F) where
F: FnOnce(&mut W) -> &mut W,
[src]
F: FnOnce(&mut W) -> &mut W,
Writes to the register
fn reset(&self)
[src]
Writes the reset value to the register