Type Alias xmc4800::eth0::mac_frame_filter::R

source ·
pub type R = R<MAC_FRAME_FILTER_SPEC>;
Expand description

Register MAC_FRAME_FILTER reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn pr(&self) -> PR_R

Bit 0 - Promiscuous Mode

source

pub fn huc(&self) -> HUC_R

Bit 1 - Hash Unicast

source

pub fn hmc(&self) -> HMC_R

Bit 2 - Hash Multicast

source

pub fn daif(&self) -> DAIF_R

Bit 3 - DA Inverse Filtering

source

pub fn pm(&self) -> PM_R

Bit 4 - Pass All Multicast

source

pub fn dbf(&self) -> DBF_R

Bit 5 - Disable Broadcast Frames

source

pub fn pcf(&self) -> PCF_R

Bits 6:7 - Pass Control Frames

source

pub fn saif(&self) -> SAIF_R

Bit 8 - SA Inverse Filtering

source

pub fn saf(&self) -> SAF_R

Bit 9 - Source Address Filter Enable

source

pub fn hpf(&self) -> HPF_R

Bit 10 - Hash or Perfect Filter

source

pub fn vtfe(&self) -> VTFE_R

Bit 16 - VLAN Tag Filter Enable

source

pub fn ipfe(&self) -> IPFE_R

Bit 20 - Layer 3 and Layer 4 Filter Enable

source

pub fn dntu(&self) -> DNTU_R

Bit 21 - Drop non-TCP/UDP over IP Frames

source

pub fn ra(&self) -> RA_R

Bit 31 - Receive All