Enum atsaml21e16b::eic::config::SENSE4SELECT_A
source · #[repr(u8)]
pub enum SENSE4SELECT_A {
NONE,
RISE,
FALL,
BOTH,
HIGH,
LOW,
}
Expand description
Input Sense Configuration 4
Value on reset: 0
Variants§
NONE
0: No detection
RISE
1: Rising edge detection
FALL
2: Falling edge detection
BOTH
3: Both edges detection
HIGH
4: High level detection
LOW
5: Low level detection
Trait Implementations§
source§impl Clone for SENSE4SELECT_A
impl Clone for SENSE4SELECT_A
source§fn clone(&self) -> SENSE4SELECT_A
fn clone(&self) -> SENSE4SELECT_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 SENSE4SELECT_A
impl Debug for SENSE4SELECT_A
source§impl From<SENSE4SELECT_A> for u8
impl From<SENSE4SELECT_A> for u8
source§fn from(variant: SENSE4SELECT_A) -> Self
fn from(variant: SENSE4SELECT_A) -> Self
Converts to this type from the input type.