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
impl OVERSAMPLE_R
sourcepub fn variant(&self) -> Option<OVERSAMPLE_A>
pub fn variant(&self) -> Option<OVERSAMPLE_A>
Get enumerated values variant
sourcepub fn is_over16x(&self) -> bool
pub fn is_over16x(&self) -> bool
Checks if the value of the field is OVER16X
sourcepub fn is_over32x(&self) -> bool
pub fn is_over32x(&self) -> bool
Checks if the value of the field is OVER32X
sourcepub fn is_over64x(&self) -> bool
pub fn is_over64x(&self) -> bool
Checks if the value of the field is OVER64X
sourcepub fn is_over128x(&self) -> bool
pub fn is_over128x(&self) -> bool
Checks if the value of the field is OVER128X
sourcepub fn is_over256x(&self) -> bool
pub fn is_over256x(&self) -> bool
Checks if the value of the field is OVER256X