Type Definition atsam4ls8c_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
impl ETRGEDG_R
sourcepub fn variant(&self) -> ETRGEDGSELECT_A
pub fn variant(&self) -> ETRGEDGSELECT_A
Get enumerated values variant
sourcepub fn is_no_edge(&self) -> bool
pub fn is_no_edge(&self) -> bool
Checks if the value of the field is NO_EDGE
sourcepub fn is_pos_edge(&self) -> bool
pub fn is_pos_edge(&self) -> bool
Checks if the value of the field is POS_EDGE
sourcepub fn is_neg_edge(&self) -> bool
pub fn is_neg_edge(&self) -> bool
Checks if the value of the field is NEG_EDGE
sourcepub fn is_both_edges(&self) -> bool
pub fn is_both_edges(&self) -> bool
Checks if the value of the field is BOTH_EDGES