#[repr(u8)]pub enum Nmisenseselect {
None = 0,
Rise = 1,
Fall = 2,
Both = 3,
High = 4,
Low = 5,
}
Expand description
Non-Maskable Interrupt Sense
Value on reset: 0
Variants§
None = 0
0: No detection
Rise = 1
1: Rising-edge detection
Fall = 2
2: Falling-edge detection
Both = 3
3: Both-edges detection
High = 4
4: High-level detection
Low = 5
5: Low-level detection
Trait Implementations§
Source§impl Clone for Nmisenseselect
impl Clone for Nmisenseselect
Source§fn clone(&self) -> Nmisenseselect
fn clone(&self) -> Nmisenseselect
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Nmisenseselect
impl Debug for Nmisenseselect
Source§impl From<Nmisenseselect> for u8
impl From<Nmisenseselect> for u8
Source§fn from(variant: Nmisenseselect) -> Self
fn from(variant: Nmisenseselect) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Nmisenseselect
impl PartialEq for Nmisenseselect
impl Copy for Nmisenseselect
impl Eq for Nmisenseselect
impl IsEnum for Nmisenseselect
impl StructuralPartialEq for Nmisenseselect
Auto Trait Implementations§
impl Freeze for Nmisenseselect
impl RefUnwindSafe for Nmisenseselect
impl Send for Nmisenseselect
impl Sync for Nmisenseselect
impl Unpin for Nmisenseselect
impl UnwindSafe for Nmisenseselect
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