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