pub enum EXTENR {
DISABLED,
RISINGEDGE,
FALLINGEDGE,
BOTHEDGES,
}
Expand description
Possible values of the field EXTEN
Variants§
DISABLED
Trigger detection disabled
RISINGEDGE
Trigger detection on the rising edge
FALLINGEDGE
Trigger detection on the falling edge
BOTHEDGES
Trigger detection on both the rising and falling edges
Implementations§
Source§impl EXTENR
impl EXTENR
Sourcepub fn is_disabled(&self) -> bool
pub fn is_disabled(&self) -> bool
Checks if the value of the field is DISABLED
Sourcepub fn is_rising_edge(&self) -> bool
pub fn is_rising_edge(&self) -> bool
Checks if the value of the field is RISINGEDGE
Sourcepub fn is_falling_edge(&self) -> bool
pub fn is_falling_edge(&self) -> bool
Checks if the value of the field is FALLINGEDGE
Sourcepub fn is_both_edges(&self) -> bool
pub fn is_both_edges(&self) -> bool
Checks if the value of the field is BOTHEDGES
Trait Implementations§
impl Copy for EXTENR
impl StructuralPartialEq for EXTENR
Auto Trait Implementations§
impl Freeze for EXTENR
impl RefUnwindSafe for EXTENR
impl Send for EXTENR
impl Sync for EXTENR
impl Unpin for EXTENR
impl UnwindSafe for EXTENR
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more