atsamd11d::eic::config

Type Alias Sense5R

Source
pub type Sense5R = FieldReader<Sense5select>;
Expand description

Field SENSE5 reader - Input Sense 5 Configuration

Aliased Type§

struct Sense5R { /* private fields */ }

Implementations§

Source§

impl Sense5R

Source

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

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