Enum atsaml21e16b::ac::compctrl::INTSELSELECT_A
source · #[repr(u8)]
pub enum INTSELSELECT_A {
TOGGLE,
RISING,
FALLING,
EOC,
}
Expand description
Interrupt Selection
Value on reset: 0
Variants§
TOGGLE
0: Interrupt on comparator output toggle
RISING
1: Interrupt on comparator output rising
FALLING
2: Interrupt on comparator output falling
EOC
3: Interrupt on end of comparison (single-shot mode only)
Trait Implementations§
source§impl Clone for INTSELSELECT_A
impl Clone for INTSELSELECT_A
source§fn clone(&self) -> INTSELSELECT_A
fn clone(&self) -> INTSELSELECT_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 INTSELSELECT_A
impl Debug for INTSELSELECT_A
source§impl From<INTSELSELECT_A> for u8
impl From<INTSELSELECT_A> for u8
source§fn from(variant: INTSELSELECT_A) -> Self
fn from(variant: INTSELSELECT_A) -> Self
Converts to this type from the input type.