atsamd21j::eic::config

Type Alias Sense2R

Source
pub type Sense2R = FieldReader<Sense2select>;
Expand description

Field SENSE2 reader - Input Sense 2 Configuration

Aliased Type§

struct Sense2R { /* private fields */ }

Implementations§

Source§

impl Sense2R

Source

pub const fn variant(&self) -> Option<Sense2select>

Get enumerated values variant

Source

pub fn is_none(&self) -> bool

No detection

Source

pub fn is_rise(&self) -> bool

Rising edge detection

Source

pub fn is_fall(&self) -> bool

Falling edge detection

Source

pub fn is_both(&self) -> bool

Both edges detection

Source

pub fn is_high(&self) -> bool

High level detection

Source

pub fn is_low(&self) -> bool

Low level detection