Type Alias xmc4300::eth0::mac_frame_filter::R

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

Register MAC_FRAME_FILTER reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn pr(&self) -> PrR

Bit 0 - Promiscuous Mode

source

pub fn huc(&self) -> HucR

Bit 1 - Hash Unicast

source

pub fn hmc(&self) -> HmcR

Bit 2 - Hash Multicast

source

pub fn daif(&self) -> DaifR

Bit 3 - DA Inverse Filtering

source

pub fn pm(&self) -> PmR

Bit 4 - Pass All Multicast

source

pub fn dbf(&self) -> DbfR

Bit 5 - Disable Broadcast Frames

source

pub fn pcf(&self) -> PcfR

Bits 6:7 - Pass Control Frames

source

pub fn saif(&self) -> SaifR

Bit 8 - SA Inverse Filtering

source

pub fn saf(&self) -> SafR

Bit 9 - Source Address Filter Enable

source

pub fn hpf(&self) -> HpfR

Bit 10 - Hash or Perfect Filter

source

pub fn vtfe(&self) -> VtfeR

Bit 16 - VLAN Tag Filter Enable

source

pub fn ipfe(&self) -> IpfeR

Bit 20 - Layer 3 and Layer 4 Filter Enable

source

pub fn dntu(&self) -> DntuR

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

source

pub fn ra(&self) -> RaR

Bit 31 - Receive All