nrf52840_pac::saadc::oversample

Type Alias 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