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
impl W
sourcepub fn pr(&mut self) -> PR_W<'_, MAC_FRAME_FILTER_SPEC>
pub fn pr(&mut self) -> PR_W<'_, MAC_FRAME_FILTER_SPEC>
Bit 0 - Promiscuous Mode
sourcepub fn huc(&mut self) -> HUC_W<'_, MAC_FRAME_FILTER_SPEC>
pub fn huc(&mut self) -> HUC_W<'_, MAC_FRAME_FILTER_SPEC>
Bit 1 - Hash Unicast
sourcepub fn hmc(&mut self) -> HMC_W<'_, MAC_FRAME_FILTER_SPEC>
pub fn hmc(&mut self) -> HMC_W<'_, MAC_FRAME_FILTER_SPEC>
Bit 2 - Hash Multicast
sourcepub fn daif(&mut self) -> DAIF_W<'_, MAC_FRAME_FILTER_SPEC>
pub fn daif(&mut self) -> DAIF_W<'_, MAC_FRAME_FILTER_SPEC>
Bit 3 - DA Inverse Filtering
sourcepub fn pm(&mut self) -> PM_W<'_, MAC_FRAME_FILTER_SPEC>
pub fn pm(&mut self) -> PM_W<'_, MAC_FRAME_FILTER_SPEC>
Bit 4 - Pass All Multicast
sourcepub fn dbf(&mut self) -> DBF_W<'_, MAC_FRAME_FILTER_SPEC>
pub fn dbf(&mut self) -> DBF_W<'_, MAC_FRAME_FILTER_SPEC>
Bit 5 - Disable Broadcast Frames
sourcepub fn pcf(&mut self) -> PCF_W<'_, MAC_FRAME_FILTER_SPEC>
pub fn pcf(&mut self) -> PCF_W<'_, MAC_FRAME_FILTER_SPEC>
Bits 6:7 - Pass Control Frames
sourcepub fn saif(&mut self) -> SAIF_W<'_, MAC_FRAME_FILTER_SPEC>
pub fn saif(&mut self) -> SAIF_W<'_, MAC_FRAME_FILTER_SPEC>
Bit 8 - SA Inverse Filtering
sourcepub fn saf(&mut self) -> SAF_W<'_, MAC_FRAME_FILTER_SPEC>
pub fn saf(&mut self) -> SAF_W<'_, MAC_FRAME_FILTER_SPEC>
Bit 9 - Source Address Filter Enable
sourcepub fn hpf(&mut self) -> HPF_W<'_, MAC_FRAME_FILTER_SPEC>
pub fn hpf(&mut self) -> HPF_W<'_, MAC_FRAME_FILTER_SPEC>
Bit 10 - Hash or Perfect Filter
sourcepub fn vtfe(&mut self) -> VTFE_W<'_, MAC_FRAME_FILTER_SPEC>
pub fn vtfe(&mut self) -> VTFE_W<'_, MAC_FRAME_FILTER_SPEC>
Bit 16 - VLAN Tag Filter Enable
sourcepub fn ra(&mut self) -> RA_W<'_, MAC_FRAME_FILTER_SPEC>
pub fn ra(&mut self) -> RA_W<'_, MAC_FRAME_FILTER_SPEC>
Bit 31 - Receive All