Type Alias xmc4800::eth0::mac_frame_filter::W

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

Register MAC_FRAME_FILTER writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn pr(&mut self) -> PR_W<'_, MAC_FRAME_FILTER_SPEC>

Bit 0 - Promiscuous Mode

source

pub fn huc(&mut self) -> HUC_W<'_, MAC_FRAME_FILTER_SPEC>

Bit 1 - Hash Unicast

source

pub fn hmc(&mut self) -> HMC_W<'_, MAC_FRAME_FILTER_SPEC>

Bit 2 - Hash Multicast

source

pub fn daif(&mut self) -> DAIF_W<'_, MAC_FRAME_FILTER_SPEC>

Bit 3 - DA Inverse Filtering

source

pub fn pm(&mut self) -> PM_W<'_, MAC_FRAME_FILTER_SPEC>

Bit 4 - Pass All Multicast

source

pub fn dbf(&mut self) -> DBF_W<'_, MAC_FRAME_FILTER_SPEC>

Bit 5 - Disable Broadcast Frames

source

pub fn pcf(&mut self) -> PCF_W<'_, MAC_FRAME_FILTER_SPEC>

Bits 6:7 - Pass Control Frames

source

pub fn saif(&mut self) -> SAIF_W<'_, MAC_FRAME_FILTER_SPEC>

Bit 8 - SA Inverse Filtering

source

pub fn saf(&mut self) -> SAF_W<'_, MAC_FRAME_FILTER_SPEC>

Bit 9 - Source Address Filter Enable

source

pub fn hpf(&mut self) -> HPF_W<'_, MAC_FRAME_FILTER_SPEC>

Bit 10 - Hash or Perfect Filter

source

pub fn vtfe(&mut self) -> VTFE_W<'_, MAC_FRAME_FILTER_SPEC>

Bit 16 - VLAN Tag Filter Enable

source

pub fn ra(&mut self) -> RA_W<'_, MAC_FRAME_FILTER_SPEC>

Bit 31 - Receive All