Type Definition atsam4e16c_pac::afec1::emr::AFEMODE_R

source ·
pub type AFEMODE_R = FieldReader<u8, AFEMODE_A>;
Expand description

Field AFEMODE reader - AFE Running Mode

Implementations§

source§

impl AFEMODE_R

source

pub fn variant(&self) -> AFEMODE_A

Get enumerated values variant

source

pub fn is_normal(&self) -> bool

Checks if the value of the field is NORMAL

source

pub fn is_offset_error(&self) -> bool

Checks if the value of the field is OFFSET_ERROR

source

pub fn is_gain_error_high(&self) -> bool

Checks if the value of the field is GAIN_ERROR_HIGH

source

pub fn is_gain_error_low(&self) -> bool

Checks if the value of the field is GAIN_ERROR_LOW