pub enum InterruptReason {
ZeroToOne,
OneToZero,
Both,
}Expand description
UInt32Digital interrupt-reason selector — C parity for
interruptReason (interfaces/asynUInt32Digital.h:25-27).
ZeroToOne (rising) and OneToZero (falling) configure each
mask in isolation; Both overwrites them together on set and
returns rising | falling on get (matching
asynPortDriver.cpp:480-535).
Variants§
Trait Implementations§
Source§impl Clone for InterruptReason
impl Clone for InterruptReason
Source§fn clone(&self) -> InterruptReason
fn clone(&self) -> InterruptReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InterruptReason
Source§impl Debug for InterruptReason
impl Debug for InterruptReason
impl Eq for InterruptReason
Source§impl PartialEq for InterruptReason
impl PartialEq for InterruptReason
impl StructuralPartialEq for InterruptReason
Auto Trait Implementations§
impl Freeze for InterruptReason
impl RefUnwindSafe for InterruptReason
impl Send for InterruptReason
impl Sync for InterruptReason
impl Unpin for InterruptReason
impl UnsafeUnpin for InterruptReason
impl UnwindSafe for InterruptReason
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.