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§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
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