Struct stm32_metapac::eth::regs::Macl3l4c0r
#[repr(transparent)]pub struct Macl3l4c0r(pub u32);
Expand description
L3 and L4 control 0 register
Tuple Fields§
§0: u32
Implementations§
§impl Macl3l4c0r
impl Macl3l4c0r
pub fn set_l3pen0(&mut self, val: bool)
pub fn set_l3pen0(&mut self, val: bool)
Layer 3 Protocol Enable
pub fn set_l3sam0(&mut self, val: bool)
pub fn set_l3sam0(&mut self, val: bool)
Layer 3 IP SA Match Enable
pub fn set_l3saim0(&mut self, val: bool)
pub fn set_l3saim0(&mut self, val: bool)
Layer 3 IP SA Inverse Match Enable
pub fn set_l3dam0(&mut self, val: bool)
pub fn set_l3dam0(&mut self, val: bool)
Layer 3 IP DA Match Enable
pub fn set_l3daim0(&mut self, val: bool)
pub fn set_l3daim0(&mut self, val: bool)
Layer 3 IP DA Inverse Match Enable
pub fn set_l3hsbm0(&mut self, val: u8)
pub fn set_l3hsbm0(&mut self, val: u8)
Layer 3 IP SA Higher Bits Match
pub fn set_l3hdbm0(&mut self, val: u8)
pub fn set_l3hdbm0(&mut self, val: u8)
Layer 3 IP DA Higher Bits Match
pub fn set_l4pen0(&mut self, val: bool)
pub fn set_l4pen0(&mut self, val: bool)
Layer 4 Protocol Enable
pub fn set_l4spm0(&mut self, val: bool)
pub fn set_l4spm0(&mut self, val: bool)
Layer 4 Source Port Match Enable
pub fn set_l4spim0(&mut self, val: bool)
pub fn set_l4spim0(&mut self, val: bool)
Layer 4 Source Port Inverse Match Enable
pub fn set_l4dpm0(&mut self, val: bool)
pub fn set_l4dpm0(&mut self, val: bool)
Layer 4 Destination Port Match Enable
pub fn set_l4dpim0(&mut self, val: bool)
pub fn set_l4dpim0(&mut self, val: bool)
Layer 4 Destination Port Inverse Match Enable
Trait Implementations§
§impl Clone for Macl3l4c0r
impl Clone for Macl3l4c0r
§fn clone(&self) -> Macl3l4c0r
fn clone(&self) -> Macl3l4c0r
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 Macl3l4c0r
impl Default for Macl3l4c0r
§fn default() -> Macl3l4c0r
fn default() -> Macl3l4c0r
Returns the “default value” for a type. Read more
§impl PartialEq for Macl3l4c0r
impl PartialEq for Macl3l4c0r
impl Copy for Macl3l4c0r
impl Eq for Macl3l4c0r
impl StructuralPartialEq for Macl3l4c0r
Auto Trait Implementations§
impl Freeze for Macl3l4c0r
impl RefUnwindSafe for Macl3l4c0r
impl Send for Macl3l4c0r
impl Sync for Macl3l4c0r
impl Unpin for Macl3l4c0r
impl UnwindSafe for Macl3l4c0r
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
)