[][src]Type Definition lpc54606_pac::enet::mac_frame_filter::R

type R = R<u32, MAC_FRAME_FILTER>;

Reader of register MAC_FRAME_FILTER

Methods

impl R[src]

pub fn pr(&self) -> PR_R[src]

Bit 0 - Promiscuous Mode When this bit is set, the Address Filter module passes all incoming frames regardless of its destination or source address.

pub fn daif(&self) -> DAIF_R[src]

Bit 3 - DA Inverse Filtering When this bit is set, the Address Check block operates in inverse filtering mode for the DA address comparison for both unicast and multicast frames.

pub fn pm(&self) -> PM_R[src]

Bit 4 - Pass All Multicast When set, this bit indicates that all received frames with a multicast destination address (first bit in the destination address field is '1') are passed.

pub fn dbf(&self) -> DBF_R[src]

Bit 5 - Disable Broadcast Frames When this bit is set, the AFM module filters all incoming broadcast frames.

pub fn pcf(&self) -> PCF_R[src]

Bits 6:7 - Pass Control Frames These bits control the forwarding of all control frames (including unicast and multicast PAUSE frames).

pub fn saif(&self) -> SAIF_R[src]

Bit 8 - SA Inverse Filtering When this bit is set, the Address Check block operates in the inverse filtering mode for SA address comparison.

pub fn saf(&self) -> SAF_R[src]

Bit 9 - Source Address Filter Enable When this bit is set, the MAC compares the SA field of the received packets with the values programmed in the enabled SA registers.

pub fn ra(&self) -> RA_R[src]

Bit 31 - Receive all When this bit is set, the MAC Receiver module passes to the Application all frames received irrespective of whether they pass the address filter.