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