atsamd21j::ac::compctrl

Type Alias IntselR

Source
pub type IntselR = FieldReader<Intselselect>;
Expand description

Field INTSEL reader - Interrupt Selection

Aliased Type§

struct IntselR { /* private fields */ }

Implementations§

Source§

impl IntselR

Source

pub const fn variant(&self) -> Intselselect

Get enumerated values variant

Source

pub fn is_toggle(&self) -> bool

Interrupt on comparator output toggle

Source

pub fn is_rising(&self) -> bool

Interrupt on comparator output rising

Source

pub fn is_falling(&self) -> bool

Interrupt on comparator output falling

Source

pub fn is_eoc(&self) -> bool

Interrupt on end of comparison (single-shot mode only)