[]Struct stm32f407g_disc::stm32::ethernet_mac::macffr::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W

pub fn reset_value() -> W

Reset value of the register

pub unsafe fn bits(&mut self, bits: u32) -> &mut W

Writes raw bits to the register

pub fn pm(&mut self) -> _PMW

Bit 0 - Promiscuous mode

pub fn hu(&mut self) -> _HUW

Bit 1 - Hash unicast

pub fn hm(&mut self) -> _HMW

Bit 2 - Hash multicast

pub fn daif(&mut self) -> _DAIFW

Bit 3 - Destination address unique filtering

pub fn pam(&mut self) -> _PAMW

Bit 4 - Pass all multicast

pub fn bfd(&mut self) -> _BFDW

Bit 5 - Broadcast frames disable

pub fn pcf(&mut self) -> _PCFW

Bits 6:7 - Pass control frames

pub fn saif(&mut self) -> _SAIFW

Bit 7 - Source address inverse filtering

pub fn saf(&mut self) -> _SAFW

Bit 8 - Source address filter

pub fn hpf(&mut self) -> _HPFW

Bit 9 - Hash or perfect filter

pub fn ra(&mut self) -> _RAW

Bit 31 - Receive all

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]