Enum avr_device::atmega4809::ccl::intctrl0::INTMODE2_A
source · #[repr(u8)]pub enum INTMODE2_A {
INTDISABLE = 0,
RISING = 1,
FALLING = 2,
BOTH = 3,
}
Expand description
Interrupt Mode for LUT2
Value on reset: 0
Variants§
INTDISABLE = 0
0: Interrupt disabled
RISING = 1
1: Sense rising edge
FALLING = 2
2: Sense falling edge
BOTH = 3
3: Sense both edges
Trait Implementations§
source§impl Clone for INTMODE2_A
impl Clone for INTMODE2_A
source§fn clone(&self) -> INTMODE2_A
fn clone(&self) -> INTMODE2_A
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 INTMODE2_A
impl Debug for INTMODE2_A
source§impl From<INTMODE2_A> for u8
impl From<INTMODE2_A> for u8
source§fn from(variant: INTMODE2_A) -> Self
fn from(variant: INTMODE2_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for INTMODE2_A
impl PartialEq for INTMODE2_A
source§fn eq(&self, other: &INTMODE2_A) -> bool
fn eq(&self, other: &INTMODE2_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for INTMODE2_A
impl Eq for INTMODE2_A
impl StructuralPartialEq for INTMODE2_A
Auto Trait Implementations§
impl RefUnwindSafe for INTMODE2_A
impl Send for INTMODE2_A
impl Sync for INTMODE2_A
impl Unpin for INTMODE2_A
impl UnwindSafe for INTMODE2_A
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