Type Definition atsam4s8c_pac::adc::emr::CMPMODE_R

source ·
pub type CMPMODE_R = FieldReader<u8, CMPMODE_A>;
Expand description

Field CMPMODE reader - Comparison Mode

Implementations§

source§

impl CMPMODE_R

source

pub fn variant(&self) -> CMPMODE_A

Get enumerated values variant

source

pub fn is_low(&self) -> bool

Checks if the value of the field is LOW

source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH

source

pub fn is_in(&self) -> bool

Checks if the value of the field is IN

source

pub fn is_out(&self) -> bool

Checks if the value of the field is OUT