MatcfgW

Type Alias MatcfgW 

pub type MatcfgW<'a, REG> = FieldWriter<'a, REG, 3, Matcfg>;
Expand description

Field MATCFG writer - Match Configuration

Aliased Type§

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

Implementations§

§

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

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

Match is disabled.

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

010b - Match is enabled, if 1st data word equals MATCH0 OR MATCH1, i.e., (1st data word = MATCH0 + MATCH1)

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

011b - Match is enabled, if any data word equals MATCH0 OR MATCH1, i.e., (any data word = MATCH0 + MATCH1)

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

100b - Match is enabled, if 1st data word equals MATCH0 AND 2nd data word equals MATCH1, i.e., [(1st data word = MATCH0) * (2nd data word = MATCH1)]

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

101b - Match is enabled, if any data word equals MATCH0 AND the next data word equals MATCH1, i.e., [(any data word = MATCH0) * (next data word = MATCH1)]

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

110b - Match is enabled, if (1st data word AND MATCH1) equals (MATCH0 AND MATCH1), i.e., [(1st data word * MATCH1) = (MATCH0 * MATCH1)]

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

111b - Match is enabled, if (any data word AND MATCH1) equals (MATCH0 AND MATCH1), i.e., [(any data word * MATCH1) = (MATCH0 * MATCH1)]