Enum avr_device::atmega4809::ccl::intctrl0::INTMODE1_A
source · #[repr(u8)]pub enum INTMODE1_A {
INTDISABLE = 0,
RISING = 1,
FALLING = 2,
BOTH = 3,
}
Expand description
Interrupt Mode for LUT1
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 INTMODE1_A
impl Clone for INTMODE1_A
source§fn clone(&self) -> INTMODE1_A
fn clone(&self) -> INTMODE1_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 INTMODE1_A
impl Debug for INTMODE1_A
source§impl From<INTMODE1_A> for u8
impl From<INTMODE1_A> for u8
source§fn from(variant: INTMODE1_A) -> Self
fn from(variant: INTMODE1_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for INTMODE1_A
impl PartialEq for INTMODE1_A
impl Copy for INTMODE1_A
impl Eq for INTMODE1_A
impl StructuralPartialEq for INTMODE1_A
Auto Trait Implementations§
impl Freeze for INTMODE1_A
impl RefUnwindSafe for INTMODE1_A
impl Send for INTMODE1_A
impl Sync for INTMODE1_A
impl Unpin for INTMODE1_A
impl UnwindSafe for INTMODE1_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
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
)