Struct stm32f4xx_hal::pac::ethernet_mac::macffr::W
source · pub struct W(/* private fields */);
Expand description
Register MACFFR
writer
Implementations§
source§impl W
impl W
sourcepub fn pm(&mut self) -> BitWriterRaw<'_, u32, MACFFR_SPEC, PM_A, BitM, 0>
pub fn pm(&mut self) -> BitWriterRaw<'_, u32, MACFFR_SPEC, PM_A, BitM, 0>
Bit 0 - Promiscuous mode
sourcepub fn hu(&mut self) -> BitWriterRaw<'_, u32, MACFFR_SPEC, HU_A, BitM, 1>
pub fn hu(&mut self) -> BitWriterRaw<'_, u32, MACFFR_SPEC, HU_A, BitM, 1>
Bit 1 - Hash unicast
sourcepub fn hm(&mut self) -> BitWriterRaw<'_, u32, MACFFR_SPEC, HM_A, BitM, 2>
pub fn hm(&mut self) -> BitWriterRaw<'_, u32, MACFFR_SPEC, HM_A, BitM, 2>
Bit 2 - Hash multicast
sourcepub fn daif(&mut self) -> BitWriterRaw<'_, u32, MACFFR_SPEC, DAIF_A, BitM, 3>
pub fn daif(&mut self) -> BitWriterRaw<'_, u32, MACFFR_SPEC, DAIF_A, BitM, 3>
Bit 3 - Destination address unique filtering
sourcepub fn pam(&mut self) -> BitWriterRaw<'_, u32, MACFFR_SPEC, PAM_A, BitM, 4>
pub fn pam(&mut self) -> BitWriterRaw<'_, u32, MACFFR_SPEC, PAM_A, BitM, 4>
Bit 4 - Pass all multicast
sourcepub fn bfd(&mut self) -> BitWriterRaw<'_, u32, MACFFR_SPEC, BFD_A, BitM, 5>
pub fn bfd(&mut self) -> BitWriterRaw<'_, u32, MACFFR_SPEC, BFD_A, BitM, 5>
Bit 5 - Broadcast frames disable
sourcepub fn pcf(
&mut self
) -> FieldWriterRaw<'_, u32, MACFFR_SPEC, u8, PCF_A, Safe, 2, 6>
pub fn pcf( &mut self ) -> FieldWriterRaw<'_, u32, MACFFR_SPEC, u8, PCF_A, Safe, 2, 6>
Bits 6:7 - Pass control frames
sourcepub fn saif(&mut self) -> BitWriterRaw<'_, u32, MACFFR_SPEC, SAIF_A, BitM, 7>
pub fn saif(&mut self) -> BitWriterRaw<'_, u32, MACFFR_SPEC, SAIF_A, BitM, 7>
Bit 7 - Source address inverse filtering
sourcepub fn saf(&mut self) -> BitWriterRaw<'_, u32, MACFFR_SPEC, SAF_A, BitM, 8>
pub fn saf(&mut self) -> BitWriterRaw<'_, u32, MACFFR_SPEC, SAF_A, BitM, 8>
Bit 8 - Source address filter
sourcepub fn hpf(&mut self) -> BitWriterRaw<'_, u32, MACFFR_SPEC, HPF_A, BitM, 9>
pub fn hpf(&mut self) -> BitWriterRaw<'_, u32, MACFFR_SPEC, HPF_A, BitM, 9>
Bit 9 - Hash or perfect filter
sourcepub fn ra(&mut self) -> BitWriterRaw<'_, u32, MACFFR_SPEC, RA_A, BitM, 31>
pub fn ra(&mut self) -> BitWriterRaw<'_, u32, MACFFR_SPEC, RA_A, BitM, 31>
Bit 31 - Receive all
Methods from Deref<Target = W<MACFFR_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§
Auto Trait Implementations§
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