#[repr(transparent)]pub struct Regmode(pub u32);Expand description
SCT match/capture mode register
Tuple Fields§
§0: u32Implementations§
Source§impl Regmode
impl Regmode
Sourcepub const fn regmod_l(&self) -> u16
pub const fn regmod_l(&self) -> u16
Each bit controls one match/capture register (register 0 = bit 0, register 1 = bit 1, etc.). The number of bits = number of match/captures in this SCT. 0 = register operates as match register. 1 = register operates as capture register.
Sourcepub const fn set_regmod_l(&mut self, val: u16)
pub const fn set_regmod_l(&mut self, val: u16)
Each bit controls one match/capture register (register 0 = bit 0, register 1 = bit 1, etc.). The number of bits = number of match/captures in this SCT. 0 = register operates as match register. 1 = register operates as capture register.
Sourcepub const fn regmod_h(&self) -> u16
pub const fn regmod_h(&self) -> u16
Each bit controls one match/capture register (register 0 = bit 16, register 1 = bit 17, etc.). The number of bits = number of match/captures in this SCT. 0 = register operates as match registers. 1 = register operates as capture registers.
Sourcepub const fn set_regmod_h(&mut self, val: u16)
pub const fn set_regmod_h(&mut self, val: u16)
Each bit controls one match/capture register (register 0 = bit 16, register 1 = bit 17, etc.). The number of bits = number of match/captures in this SCT. 0 = register operates as match registers. 1 = register operates as capture registers.