#[repr(u8)]
pub enum NMISENSE_A {
NONE,
RISE,
FALL,
BOTH,
HIGH,
LOW,
}
Expand description
Non-Maskable Interrupt Sense Configuration
Value on reset: 0
Variants
NONE
0: No detection
RISE
1: Rising-edge detection
FALL
2: Falling-edge detection
BOTH
3: Both-edges detection
HIGH
4: High-level detection
LOW
5: Low-level detection
Trait Implementations
sourceimpl Clone for NMISENSE_A
impl Clone for NMISENSE_A
sourcefn clone(&self) -> NMISENSE_A
fn clone(&self) -> NMISENSE_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for NMISENSE_A
impl Debug for NMISENSE_A
sourceimpl From<NMISENSE_A> for u8
impl From<NMISENSE_A> for u8
sourcefn from(variant: NMISENSE_A) -> Self
fn from(variant: NMISENSE_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<NMISENSE_A> for NMISENSE_A
impl PartialEq<NMISENSE_A> for NMISENSE_A
sourcefn eq(&self, other: &NMISENSE_A) -> bool
fn eq(&self, other: &NMISENSE_A) -> bool
impl Copy for NMISENSE_A
impl StructuralPartialEq for NMISENSE_A
Auto Trait Implementations
impl RefUnwindSafe for NMISENSE_A
impl Send for NMISENSE_A
impl Sync for NMISENSE_A
impl Unpin for NMISENSE_A
impl UnwindSafe for NMISENSE_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more