Struct stm32_metapac::eth::regs::Macl3l4c1r
#[repr(transparent)]pub struct Macl3l4c1r(pub u32);
Expand description
L3 and L4 control 1 register
Tuple Fieldsยง
ยง0: u32
Implementationsยง
ยงimpl Macl3l4c1r
impl Macl3l4c1r
pub fn set_l3pen1(&mut self, val: bool)
pub fn set_l3pen1(&mut self, val: bool)
Layer 3 Protocol Enable
pub fn set_l3sam1(&mut self, val: bool)
pub fn set_l3sam1(&mut self, val: bool)
Layer 3 IP SA Match Enable
pub fn set_l3saim1(&mut self, val: bool)
pub fn set_l3saim1(&mut self, val: bool)
Layer 3 IP SA Inverse Match Enable
pub fn set_l3dam1(&mut self, val: bool)
pub fn set_l3dam1(&mut self, val: bool)
Layer 3 IP DA Match Enable
pub fn set_l3daim1(&mut self, val: bool)
pub fn set_l3daim1(&mut self, val: bool)
Layer 3 IP DA Inverse Match Enable
pub fn set_l3hsbm1(&mut self, val: u8)
pub fn set_l3hsbm1(&mut self, val: u8)
Layer 3 IP SA Higher Bits Match
pub fn set_l3hdbm1(&mut self, val: u8)
pub fn set_l3hdbm1(&mut self, val: u8)
Layer 3 IP DA Higher Bits Match
pub fn set_l4pen1(&mut self, val: bool)
pub fn set_l4pen1(&mut self, val: bool)
Layer 4 Protocol Enable
pub fn set_l4spm1(&mut self, val: bool)
pub fn set_l4spm1(&mut self, val: bool)
Layer 4 Source Port Match Enable
pub fn set_l4spim1(&mut self, val: bool)
pub fn set_l4spim1(&mut self, val: bool)
Layer 4 Source Port Inverse Match Enable
pub fn set_l4dpm1(&mut self, val: bool)
pub fn set_l4dpm1(&mut self, val: bool)
Layer 4 Destination Port Match Enable
pub fn set_l4dpim1(&mut self, val: bool)
pub fn set_l4dpim1(&mut self, val: bool)
Layer 4 Destination Port Inverse Match Enable
Trait Implementationsยง
ยงimpl Clone for Macl3l4c1r
impl Clone for Macl3l4c1r
ยงfn clone(&self) -> Macl3l4c1r
fn clone(&self) -> Macl3l4c1r
Returns a copy of the value. Read more
1.0.0 ยท sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreยงimpl Default for Macl3l4c1r
impl Default for Macl3l4c1r
ยงfn default() -> Macl3l4c1r
fn default() -> Macl3l4c1r
Returns the โdefault valueโ for a type. Read more
ยงimpl PartialEq for Macl3l4c1r
impl PartialEq for Macl3l4c1r
ยงfn eq(&self, other: &Macl3l4c1r) -> bool
fn eq(&self, other: &Macl3l4c1r) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Macl3l4c1r
impl Eq for Macl3l4c1r
impl StructuralEq for Macl3l4c1r
impl StructuralPartialEq for Macl3l4c1r
Auto Trait Implementationsยง
impl RefUnwindSafe for Macl3l4c1r
impl Send for Macl3l4c1r
impl Sync for Macl3l4c1r
impl Unpin for Macl3l4c1r
impl UnwindSafe for Macl3l4c1r
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