atsamd21j::eic::config

Type Alias Sense3R

Source
pub type Sense3R = FieldReader<Sense3select>;
Expand description

Field SENSE3 reader - Input Sense 3 Configuration

Aliased Type§

struct Sense3R { /* private fields */ }

Implementations§

Source§

impl Sense3R

Source

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

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