atsamd21g::adc::winctrl

Type Alias WinmodeW

Source
pub type WinmodeW<'a, REG> = FieldWriter<'a, REG, 3, Winmodeselect>;
Expand description

Field WINMODE writer - Window Monitor Mode

Aliased Type§

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

Implementations§

Source§

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

Source

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

No window mode (default)

Source

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

Mode 1: RESULT > WINLT

Source

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

Mode 2: RESULT < WINUT

Source

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

Mode 3: WINLT < RESULT < WINUT

Source

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

Mode 4: !(WINLT < RESULT < WINUT)