Struct stm32f1xx_hal::pac::ethernet_mac::macffr::W
source · pub struct W(_);
Expand description
Register MACFFR
writer
Implementations§
source§impl W
impl W
sourcepub fn pm(&mut self) -> BitWriterRaw<'_, u32, MACFFR_SPEC, bool, BitM, 0>
pub fn pm(&mut self) -> BitWriterRaw<'_, u32, MACFFR_SPEC, bool, BitM, 0>
Bit 0 - Promiscuous mode
sourcepub fn hu(&mut self) -> BitWriterRaw<'_, u32, MACFFR_SPEC, bool, BitM, 1>
pub fn hu(&mut self) -> BitWriterRaw<'_, u32, MACFFR_SPEC, bool, BitM, 1>
Bit 1 - Hash unicast
sourcepub fn hm(&mut self) -> BitWriterRaw<'_, u32, MACFFR_SPEC, bool, BitM, 2>
pub fn hm(&mut self) -> BitWriterRaw<'_, u32, MACFFR_SPEC, bool, BitM, 2>
Bit 2 - Hash multicast
sourcepub fn daif(&mut self) -> BitWriterRaw<'_, u32, MACFFR_SPEC, bool, BitM, 3>
pub fn daif(&mut self) -> BitWriterRaw<'_, u32, MACFFR_SPEC, bool, BitM, 3>
Bit 3 - Destination address inverse filtering
sourcepub fn pam(&mut self) -> BitWriterRaw<'_, u32, MACFFR_SPEC, bool, BitM, 4>
pub fn pam(&mut self) -> BitWriterRaw<'_, u32, MACFFR_SPEC, bool, BitM, 4>
Bit 4 - Pass all multicast
sourcepub fn bfd(&mut self) -> BitWriterRaw<'_, u32, MACFFR_SPEC, bool, BitM, 5>
pub fn bfd(&mut self) -> BitWriterRaw<'_, u32, MACFFR_SPEC, bool, BitM, 5>
Bit 5 - Broadcast frames disable
sourcepub fn pcf(
&mut self
) -> FieldWriterRaw<'_, u32, MACFFR_SPEC, u8, u8, Unsafe, 2, 6>
pub fn pcf(
&mut self
) -> FieldWriterRaw<'_, u32, MACFFR_SPEC, u8, u8, Unsafe, 2, 6>
Bits 6:7 - Pass control frames
sourcepub fn saif(&mut self) -> BitWriterRaw<'_, u32, MACFFR_SPEC, bool, BitM, 8>
pub fn saif(&mut self) -> BitWriterRaw<'_, u32, MACFFR_SPEC, bool, BitM, 8>
Bit 8 - Source address inverse filtering
sourcepub fn saf(&mut self) -> BitWriterRaw<'_, u32, MACFFR_SPEC, bool, BitM, 9>
pub fn saf(&mut self) -> BitWriterRaw<'_, u32, MACFFR_SPEC, bool, BitM, 9>
Bit 9 - Source address filter
sourcepub fn hpf(&mut self) -> BitWriterRaw<'_, u32, MACFFR_SPEC, bool, BitM, 10>
pub fn hpf(&mut self) -> BitWriterRaw<'_, u32, MACFFR_SPEC, bool, BitM, 10>
Bit 10 - Hash or perfect filter
sourcepub fn ra(&mut self) -> BitWriterRaw<'_, u32, MACFFR_SPEC, bool, BitM, 31>
pub fn ra(&mut self) -> BitWriterRaw<'_, u32, MACFFR_SPEC, bool, 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.