Struct stm32_metapac::eth::regs::Macvtr
#[repr(transparent)]pub struct Macvtr(pub u32);
Expand description
VLAN tag register
Tuple Fields§
§0: u32
Implementations§
§impl Macvtr
impl Macvtr
pub fn set_ersvlm(&mut self, val: bool)
pub fn set_ersvlm(&mut self, val: bool)
Enable Receive S-VLAN Match
pub fn set_dovltc(&mut self, val: bool)
pub fn set_dovltc(&mut self, val: bool)
Disable VLAN Type Check
pub fn set_evlrxs(&mut self, val: bool)
pub fn set_evlrxs(&mut self, val: bool)
Enable VLAN Tag in Rx status
pub fn set_erivlt(&mut self, val: bool)
pub fn set_erivlt(&mut self, val: bool)
Enable Inner VLAN Tag
pub fn set_eivlrxs(&mut self, val: bool)
pub fn set_eivlrxs(&mut self, val: bool)
Enable Inner VLAN Tag in Rx Status
Trait Implementations§
impl Copy for Macvtr
impl Eq for Macvtr
impl StructuralEq for Macvtr
impl StructuralPartialEq for Macvtr
Auto Trait Implementations§
impl RefUnwindSafe for Macvtr
impl Send for Macvtr
impl Sync for Macvtr
impl Unpin for Macvtr
impl UnwindSafe for Macvtr
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more