#[repr(transparent)]pub struct MacVlanTagCtrl(pub u32);Expand description
MAC VLAN Tag Control.
Tuple Fields§
§0: u32Implementations§
Source§impl MacVlanTagCtrl
impl MacVlanTagCtrl
Sourcepub const fn etv(&self) -> bool
pub const fn etv(&self) -> bool
Enable 12-Bit VLAN Tag Comparison. Raw bit values: false (0) = Disable: 12-bit VLAN Tag Comparison is disabled.; true (1) = Enable: 12-bit VLAN Tag Comparison is enabled.
Sourcepub const fn set_etv(&mut self, val: bool)
pub const fn set_etv(&mut self, val: bool)
Enable 12-Bit VLAN Tag Comparison. Raw bit values: false (0) = Disable: 12-bit VLAN Tag Comparison is disabled.; true (1) = Enable: 12-bit VLAN Tag Comparison is enabled.
Sourcepub const fn vtim(&self) -> bool
pub const fn vtim(&self) -> bool
VLAN Tag Inverse Match Enable. Raw bit values: false (0) = Disable: VLAN Tag Inverse Match is disabled.; true (1) = Enable: VLAN Tag Inverse Match is enabled.
Sourcepub const fn set_vtim(&mut self, val: bool)
pub const fn set_vtim(&mut self, val: bool)
VLAN Tag Inverse Match Enable. Raw bit values: false (0) = Disable: VLAN Tag Inverse Match is disabled.; true (1) = Enable: VLAN Tag Inverse Match is enabled.
Sourcepub const fn esvl(&self) -> bool
pub const fn esvl(&self) -> bool
Enable S-VLAN. Raw bit values: false (0) = Disable: S-VLAN is disabled.; true (1) = Enable: S-VLAN is enabled.
Sourcepub const fn set_esvl(&mut self, val: bool)
pub const fn set_esvl(&mut self, val: bool)
Enable S-VLAN. Raw bit values: false (0) = Disable: S-VLAN is disabled.; true (1) = Enable: S-VLAN is enabled.
Sourcepub const fn ersvlm(&self) -> bool
pub const fn ersvlm(&self) -> bool
Enable Receive S-VLAN Match. Raw bit values: false (0) = Disable: Receive S-VLAN Match is disabled.; true (1) = Enable: Receive S-VLAN Match is enabled.
Sourcepub const fn set_ersvlm(&mut self, val: bool)
pub const fn set_ersvlm(&mut self, val: bool)
Enable Receive S-VLAN Match. Raw bit values: false (0) = Disable: Receive S-VLAN Match is disabled.; true (1) = Enable: Receive S-VLAN Match is enabled.
Sourcepub const fn dovltc(&self) -> bool
pub const fn dovltc(&self) -> bool
Disable VLAN Type Check. Raw bit values: false (0) = Enable: VLAN Type Check is enabled.; true (1) = Disable: VLAN Type Check is disabled.
Sourcepub const fn set_dovltc(&mut self, val: bool)
pub const fn set_dovltc(&mut self, val: bool)
Disable VLAN Type Check. Raw bit values: false (0) = Enable: VLAN Type Check is enabled.; true (1) = Disable: VLAN Type Check is disabled.
Sourcepub const fn evlrxs(&self) -> bool
pub const fn evlrxs(&self) -> bool
Enable VLAN Tag in Rx status. Raw bit values: false (0) = Disable: VLAN Tag in Rx status is disabled.; true (1) = Enable: VLAN Tag in Rx status is enabled.
Sourcepub const fn set_evlrxs(&mut self, val: bool)
pub const fn set_evlrxs(&mut self, val: bool)
Enable VLAN Tag in Rx status. Raw bit values: false (0) = Disable: VLAN Tag in Rx status is disabled.; true (1) = Enable: VLAN Tag in Rx status is enabled.
Sourcepub const fn edvlp(&self) -> bool
pub const fn edvlp(&self) -> bool
Enable Double VLAN Processing. Raw bit values: false (0) = Disable: Double VLAN Processing is disabled.; true (1) = Enable: Double VLAN Processing is enabled.
Sourcepub const fn set_edvlp(&mut self, val: bool)
pub const fn set_edvlp(&mut self, val: bool)
Enable Double VLAN Processing. Raw bit values: false (0) = Disable: Double VLAN Processing is disabled.; true (1) = Enable: Double VLAN Processing is enabled.
Sourcepub const fn erivlt(&self) -> bool
pub const fn erivlt(&self) -> bool
Enable Inner VLAN Tag. Raw bit values: false (0) = Disable: Inner VLAN tag is disabled.; true (1) = Enable: Inner VLAN tag is enabled.
Sourcepub const fn set_erivlt(&mut self, val: bool)
pub const fn set_erivlt(&mut self, val: bool)
Enable Inner VLAN Tag. Raw bit values: false (0) = Disable: Inner VLAN tag is disabled.; true (1) = Enable: Inner VLAN tag is enabled.
Sourcepub const fn eivlrxs(&self) -> bool
pub const fn eivlrxs(&self) -> bool
Enable Inner VLAN Tag in Rx Status. Raw bit values: false (0) = Disable: Inner VLAN Tag in Rx status is disabled.; true (1) = Enable: Inner VLAN Tag in Rx status is enabled.
Sourcepub const fn set_eivlrxs(&mut self, val: bool)
pub const fn set_eivlrxs(&mut self, val: bool)
Enable Inner VLAN Tag in Rx Status. Raw bit values: false (0) = Disable: Inner VLAN Tag in Rx status is disabled.; true (1) = Enable: Inner VLAN Tag in Rx status is enabled.
Trait Implementations§
Source§impl Clone for MacVlanTagCtrl
impl Clone for MacVlanTagCtrl
Source§fn clone(&self) -> MacVlanTagCtrl
fn clone(&self) -> MacVlanTagCtrl
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more