Type Alias nrf52840_pac::saadc::resolution::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