Type Alias atsamd51p::ac::compctrl::INTSEL_W

source ·
pub type INTSEL_W<'a, REG, const O: u8> = FieldWriterSafe<'a, REG, 2, O, INTSELSELECT_A>;
Expand description

Field INTSEL writer - Interrupt Selection

Aliased Type§

struct INTSEL_W<'a, REG, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, REG, const O: u8> INTSEL_W<'a, REG, O>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

source

pub fn toggle(self) -> &'a mut W<REG>

Interrupt on comparator output toggle

source

pub fn rising(self) -> &'a mut W<REG>

Interrupt on comparator output rising

source

pub fn falling(self) -> &'a mut W<REG>

Interrupt on comparator output falling

source

pub fn eoc(self) -> &'a mut W<REG>

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