nrf52840_pac::saadc::resolution

Type Alias VAL_R

Source
pub type VAL_R = FieldReader<u8, VAL_A>;
Expand description

Field VAL reader - Set the resolution

Aliased Type§

struct VAL_R { /* private fields */ }

Implementations§

Source§

impl VAL_R

Source

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

Get enumerated values variant

Source

pub fn is_8bit(&self) -> bool

Checks if the value of the field is _8BIT

Source

pub fn is_10bit(&self) -> bool

Checks if the value of the field is _10BIT

Source

pub fn is_12bit(&self) -> bool

Checks if the value of the field is _12BIT

Source

pub fn is_14bit(&self) -> bool

Checks if the value of the field is _14BIT