Type Alias nrf52840_pac::saadc::oversample::OVERSAMPLE_W

source ·
pub type OVERSAMPLE_W<'a, const O: u8> = FieldWriter<'a, u32, OVERSAMPLE_SPEC, u8, OVERSAMPLE_A, 4, O>;
Expand description

Field OVERSAMPLE writer - Oversample control

Aliased Type§

struct OVERSAMPLE_W<'a, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, const O: u8> OVERSAMPLE_W<'a, O>

source

pub fn bypass(self) -> &'a mut W

Bypass oversampling

source

pub fn over2x(self) -> &'a mut W

Oversample 2x

source

pub fn over4x(self) -> &'a mut W

Oversample 4x

source

pub fn over8x(self) -> &'a mut W

Oversample 8x

source

pub fn over16x(self) -> &'a mut W

Oversample 16x

source

pub fn over32x(self) -> &'a mut W

Oversample 32x

source

pub fn over64x(self) -> &'a mut W

Oversample 64x

source

pub fn over128x(self) -> &'a mut W

Oversample 128x

source

pub fn over256x(self) -> &'a mut W

Oversample 256x