MatcfgR

Type Alias MatcfgR 

pub type MatcfgR = FieldReader<Matcfg>;
Expand description

Field MATCFG reader - Match Configuration

Aliased Type§

pub struct MatcfgR { /* private fields */ }

Implementations§

§

impl MatcfgR

pub const fn variant(&self) -> Option<Matcfg>

Get enumerated values variant

pub fn is_000(&self) -> bool

Match is disabled.

pub fn is_010(&self) -> bool

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

pub fn is_011(&self) -> bool

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

pub fn is_100(&self) -> bool

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 is_101(&self) -> bool

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 is_110(&self) -> bool

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

pub fn is_111(&self) -> bool

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