atsamd21g::ac::compctrl

Type Alias FlenW

Source
pub type FlenW<'a, REG> = FieldWriter<'a, REG, 3, Flenselect>;
Expand description

Field FLEN writer - Filter Length

Aliased Type§

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

Implementations§

Source§

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

Source

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

No filtering

Source

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

3-bit majority function (2 of 3)

Source

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

5-bit majority function (3 of 5)