Type Alias atsame54n::ac::compctrl::FLEN_W

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

Field FLEN writer - Filter Length

Aliased Type§

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

Implementations§

source§

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