pub enum ICEVCTRLR {
EVERYEDGE,
EVERYSECONDEDGE,
RISING,
FALLING,
}
Expand description
Possible values of the field ICEVCTRL
Variants§
EVERYEDGE
PRS output pulse and interrupt flag set on every capture
EVERYSECONDEDGE
PRS output pulse and interrupt flag set on every second capture
RISING
PRS output pulse and interrupt flag set on rising edge only (if ICEDGE = BOTH)
FALLING
PRS output pulse and interrupt flag set on falling edge only (if ICEDGE = BOTH)
Implementations§
Source§impl ICEVCTRLR
impl ICEVCTRLR
Sourcepub fn is_everyedge(&self) -> bool
pub fn is_everyedge(&self) -> bool
Checks if the value of the field is EVERYEDGE
Sourcepub fn is_everysecondedge(&self) -> bool
pub fn is_everysecondedge(&self) -> bool
Checks if the value of the field is EVERYSECONDEDGE
Sourcepub fn is_falling(&self) -> bool
pub fn is_falling(&self) -> bool
Checks if the value of the field is FALLING
Trait Implementations§
impl Copy for ICEVCTRLR
impl StructuralPartialEq for ICEVCTRLR
Auto Trait Implementations§
impl Freeze for ICEVCTRLR
impl RefUnwindSafe for ICEVCTRLR
impl Send for ICEVCTRLR
impl Sync for ICEVCTRLR
impl Unpin for ICEVCTRLR
impl UnwindSafe for ICEVCTRLR
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)