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
impl Copy for Macl3l4c1r
impl Eq for Macl3l4c1r
impl StructuralPartialEq for Macl3l4c1r
Auto Trait Implementations§
impl Freeze for Macl3l4c1r
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)