Type Alias atsamd21g::eic::config::SENSE0_R

source ·
pub type SENSE0_R = FieldReader<SENSE0SELECT_A>;
Expand description

Field SENSE0 reader - Input Sense 0 Configuration

Aliased Type§

struct SENSE0_R { /* private fields */ }

Implementations§

source§

impl SENSE0_R

source

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

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