Type Alias nrf52840_pac::saadc::oversample::OVERSAMPLE_R

source ·
pub type OVERSAMPLE_R = FieldReader<u8, OVERSAMPLE_A>;
Expand description

Field OVERSAMPLE reader - Oversample control

Aliased Type§

struct OVERSAMPLE_R { /* private fields */ }

Implementations§

source§

impl OVERSAMPLE_R

source

pub fn variant(&self) -> Option<OVERSAMPLE_A>

Get enumerated values variant

source

pub fn is_bypass(&self) -> bool

Checks if the value of the field is BYPASS

source

pub fn is_over2x(&self) -> bool

Checks if the value of the field is OVER2X

source

pub fn is_over4x(&self) -> bool

Checks if the value of the field is OVER4X

source

pub fn is_over8x(&self) -> bool

Checks if the value of the field is OVER8X

source

pub fn is_over16x(&self) -> bool

Checks if the value of the field is OVER16X

source

pub fn is_over32x(&self) -> bool

Checks if the value of the field is OVER32X

source

pub fn is_over64x(&self) -> bool

Checks if the value of the field is OVER64X

source

pub fn is_over128x(&self) -> bool

Checks if the value of the field is OVER128X

source

pub fn is_over256x(&self) -> bool

Checks if the value of the field is OVER256X