Type Alias atsame51j::adc0::ctrlb::WINMODE_W

source ·
pub type WINMODE_W<'a, REG, const O: u8> = FieldWriter<'a, REG, 3, O, WINMODESELECT_A>;
Expand description

Field WINMODE writer - Window Monitor Mode

Aliased Type§

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

Implementations§

source§

impl<'a, REG, const O: u8> WINMODE_W<'a, REG, O>
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>

RESULT > WINLT

source

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

RESULT < WINUT

source

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

WINLT < RESULT < WINUT

source

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

!(WINLT < RESULT < WINUT)