pub enum JEXTENR {
DISABLED,
RISINGEDGE,
FALLINGEDGE,
BOTHEDGES,
}
Expand description
Possible values of the field JEXTEN
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 JEXTENR
impl JEXTENR
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 JEXTENR
impl StructuralPartialEq for JEXTENR
Auto Trait Implementations§
impl Freeze for JEXTENR
impl RefUnwindSafe for JEXTENR
impl Send for JEXTENR
impl Sync for JEXTENR
impl Unpin for JEXTENR
impl UnwindSafe for JEXTENR
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