Type Alias xmc4300::eth0::mac_frame_filter::W

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

Register MAC_FRAME_FILTER writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn pr(&mut self) -> PrW<'_, MacFrameFilterSpec>

Bit 0 - Promiscuous Mode

source

pub fn huc(&mut self) -> HucW<'_, MacFrameFilterSpec>

Bit 1 - Hash Unicast

source

pub fn hmc(&mut self) -> HmcW<'_, MacFrameFilterSpec>

Bit 2 - Hash Multicast

source

pub fn daif(&mut self) -> DaifW<'_, MacFrameFilterSpec>

Bit 3 - DA Inverse Filtering

source

pub fn pm(&mut self) -> PmW<'_, MacFrameFilterSpec>

Bit 4 - Pass All Multicast

source

pub fn dbf(&mut self) -> DbfW<'_, MacFrameFilterSpec>

Bit 5 - Disable Broadcast Frames

source

pub fn pcf(&mut self) -> PcfW<'_, MacFrameFilterSpec>

Bits 6:7 - Pass Control Frames

source

pub fn saif(&mut self) -> SaifW<'_, MacFrameFilterSpec>

Bit 8 - SA Inverse Filtering

source

pub fn saf(&mut self) -> SafW<'_, MacFrameFilterSpec>

Bit 9 - Source Address Filter Enable

source

pub fn hpf(&mut self) -> HpfW<'_, MacFrameFilterSpec>

Bit 10 - Hash or Perfect Filter

source

pub fn vtfe(&mut self) -> VtfeW<'_, MacFrameFilterSpec>

Bit 16 - VLAN Tag Filter Enable

source

pub fn ra(&mut self) -> RaW<'_, MacFrameFilterSpec>

Bit 31 - Receive All