atsamd21g::eic::config

Type Alias Sense1R

Source
pub type Sense1R = FieldReader<Sense1select>;
Expand description

Field SENSE1 reader - Input Sense 1 Configuration

Aliased Type§

struct Sense1R { /* private fields */ }

Implementations§

Source§

impl Sense1R

Source

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

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