Type Definition atsam4lc8a_pac::tc0::capture_cmr::ETRGEDG_R

source ·
pub type ETRGEDG_R = FieldReader<u8, ETRGEDGSELECT_A>;
Expand description

Field ETRGEDG reader - External Trigger Edge Selection

Implementations§

source§

impl ETRGEDG_R

source

pub fn variant(&self) -> ETRGEDGSELECT_A

Get enumerated values variant

source

pub fn is_no_edge(&self) -> bool

Checks if the value of the field is NO_EDGE

source

pub fn is_pos_edge(&self) -> bool

Checks if the value of the field is POS_EDGE

source

pub fn is_neg_edge(&self) -> bool

Checks if the value of the field is NEG_EDGE

source

pub fn is_both_edges(&self) -> bool

Checks if the value of the field is BOTH_EDGES