atsamd21j::ac::compctrl

Type Alias OutW

Source
pub type OutW<'a, REG> = FieldWriter<'a, REG, 2, Outselect>;
Expand description

Field OUT writer - Output

Aliased Type§

struct OutW<'a, REG> { /* private fields */ }

Implementations§

Source§

impl<'a, REG> OutW<'a, REG>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

Source

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

The output of COMPn is not routed to the COMPn I/O port

Source

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

The asynchronous output of COMPn is routed to the COMPn I/O port

Source

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

The synchronous output (including filtering) of COMPn is routed to the COMPn I/O port