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