Struct stm32_hal2::pac::ethernet_mac::macl3l4c0r::W
source · [−]pub struct W(_);
Expand description
Register MACL3L4C0R
writer
Implementations
sourceimpl W
impl W
sourcepub fn l3pen0(
&mut self
) -> BitWriterRaw<'_, u32, MACL3L4C0R_SPEC, bool, BitM, 0>
pub fn l3pen0(
&mut self
) -> BitWriterRaw<'_, u32, MACL3L4C0R_SPEC, bool, BitM, 0>
Bit 0 - Layer 3 Protocol Enable
sourcepub fn l3sam0(
&mut self
) -> BitWriterRaw<'_, u32, MACL3L4C0R_SPEC, bool, BitM, 2>
pub fn l3sam0(
&mut self
) -> BitWriterRaw<'_, u32, MACL3L4C0R_SPEC, bool, BitM, 2>
Bit 2 - Layer 3 IP SA Match Enable
sourcepub fn l3saim0(
&mut self
) -> BitWriterRaw<'_, u32, MACL3L4C0R_SPEC, bool, BitM, 3>
pub fn l3saim0(
&mut self
) -> BitWriterRaw<'_, u32, MACL3L4C0R_SPEC, bool, BitM, 3>
Bit 3 - Layer 3 IP SA Inverse Match Enable
sourcepub fn l3dam0(
&mut self
) -> BitWriterRaw<'_, u32, MACL3L4C0R_SPEC, bool, BitM, 4>
pub fn l3dam0(
&mut self
) -> BitWriterRaw<'_, u32, MACL3L4C0R_SPEC, bool, BitM, 4>
Bit 4 - Layer 3 IP DA Match Enable
sourcepub fn l3daim0(
&mut self
) -> BitWriterRaw<'_, u32, MACL3L4C0R_SPEC, bool, BitM, 5>
pub fn l3daim0(
&mut self
) -> BitWriterRaw<'_, u32, MACL3L4C0R_SPEC, bool, BitM, 5>
Bit 5 - Layer 3 IP DA Inverse Match Enable
sourcepub fn l3hsbm0(
&mut self
) -> FieldWriterRaw<'_, u32, MACL3L4C0R_SPEC, u8, u8, Unsafe, 5, 6>
pub fn l3hsbm0(
&mut self
) -> FieldWriterRaw<'_, u32, MACL3L4C0R_SPEC, u8, u8, Unsafe, 5, 6>
Bits 6:10 - Layer 3 IP SA Higher Bits Match
sourcepub fn l3hdbm0(
&mut self
) -> FieldWriterRaw<'_, u32, MACL3L4C0R_SPEC, u8, u8, Unsafe, 5, 11>
pub fn l3hdbm0(
&mut self
) -> FieldWriterRaw<'_, u32, MACL3L4C0R_SPEC, u8, u8, Unsafe, 5, 11>
Bits 11:15 - Layer 3 IP DA Higher Bits Match
sourcepub fn l4pen0(
&mut self
) -> BitWriterRaw<'_, u32, MACL3L4C0R_SPEC, bool, BitM, 16>
pub fn l4pen0(
&mut self
) -> BitWriterRaw<'_, u32, MACL3L4C0R_SPEC, bool, BitM, 16>
Bit 16 - Layer 4 Protocol Enable
sourcepub fn l4spm0(
&mut self
) -> BitWriterRaw<'_, u32, MACL3L4C0R_SPEC, bool, BitM, 18>
pub fn l4spm0(
&mut self
) -> BitWriterRaw<'_, u32, MACL3L4C0R_SPEC, bool, BitM, 18>
Bit 18 - Layer 4 Source Port Match Enable
sourcepub fn l4spim0(
&mut self
) -> BitWriterRaw<'_, u32, MACL3L4C0R_SPEC, bool, BitM, 19>
pub fn l4spim0(
&mut self
) -> BitWriterRaw<'_, u32, MACL3L4C0R_SPEC, bool, BitM, 19>
Bit 19 - Layer 4 Source Port Inverse Match Enable
sourcepub fn l4dpm0(
&mut self
) -> BitWriterRaw<'_, u32, MACL3L4C0R_SPEC, bool, BitM, 20>
pub fn l4dpm0(
&mut self
) -> BitWriterRaw<'_, u32, MACL3L4C0R_SPEC, bool, BitM, 20>
Bit 20 - Layer 4 Destination Port Match Enable
sourcepub fn l4dpim0(
&mut self
) -> BitWriterRaw<'_, u32, MACL3L4C0R_SPEC, bool, BitM, 21>
pub fn l4dpim0(
&mut self
) -> BitWriterRaw<'_, u32, MACL3L4C0R_SPEC, bool, BitM, 21>
Bit 21 - Layer 4 Destination Port Inverse Match Enable
Methods from Deref<Target = W<MACL3L4C0R_SPEC>>
sourcepub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Trait Implementations
sourceimpl From<W<MACL3L4C0R_SPEC>> for W
impl From<W<MACL3L4C0R_SPEC>> for W
sourcefn from(writer: W<MACL3L4C0R_SPEC>) -> W
fn from(writer: W<MACL3L4C0R_SPEC>) -> W
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more