Type Alias xmc4800::eth0::mac_configuration::W
source · pub type W = W<MAC_CONFIGURATION_SPEC>;
Expand description
Register MAC_CONFIGURATION
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn prelen(&mut self) -> PRELEN_W<'_, MAC_CONFIGURATION_SPEC>
pub fn prelen(&mut self) -> PRELEN_W<'_, MAC_CONFIGURATION_SPEC>
Bits 0:1 - Preamble Length for Transmit Frames
sourcepub fn re(&mut self) -> RE_W<'_, MAC_CONFIGURATION_SPEC>
pub fn re(&mut self) -> RE_W<'_, MAC_CONFIGURATION_SPEC>
Bit 2 - Receiver Enable
sourcepub fn te(&mut self) -> TE_W<'_, MAC_CONFIGURATION_SPEC>
pub fn te(&mut self) -> TE_W<'_, MAC_CONFIGURATION_SPEC>
Bit 3 - Transmitter Enable
sourcepub fn dc(&mut self) -> DC_W<'_, MAC_CONFIGURATION_SPEC>
pub fn dc(&mut self) -> DC_W<'_, MAC_CONFIGURATION_SPEC>
Bit 4 - Deferral Check
sourcepub fn bl(&mut self) -> BL_W<'_, MAC_CONFIGURATION_SPEC>
pub fn bl(&mut self) -> BL_W<'_, MAC_CONFIGURATION_SPEC>
Bits 5:6 - Back-Off Limit
sourcepub fn acs(&mut self) -> ACS_W<'_, MAC_CONFIGURATION_SPEC>
pub fn acs(&mut self) -> ACS_W<'_, MAC_CONFIGURATION_SPEC>
Bit 7 - Automatic Pad or CRC Stripping
sourcepub fn dr(&mut self) -> DR_W<'_, MAC_CONFIGURATION_SPEC>
pub fn dr(&mut self) -> DR_W<'_, MAC_CONFIGURATION_SPEC>
Bit 9 - Disable Retry
sourcepub fn ipc(&mut self) -> IPC_W<'_, MAC_CONFIGURATION_SPEC>
pub fn ipc(&mut self) -> IPC_W<'_, MAC_CONFIGURATION_SPEC>
Bit 10 - Checksum Offload
sourcepub fn dm(&mut self) -> DM_W<'_, MAC_CONFIGURATION_SPEC>
pub fn dm(&mut self) -> DM_W<'_, MAC_CONFIGURATION_SPEC>
Bit 11 - Duplex Mode
sourcepub fn lm(&mut self) -> LM_W<'_, MAC_CONFIGURATION_SPEC>
pub fn lm(&mut self) -> LM_W<'_, MAC_CONFIGURATION_SPEC>
Bit 12 - Loopback Mode
sourcepub fn do_(&mut self) -> DO_W<'_, MAC_CONFIGURATION_SPEC>
pub fn do_(&mut self) -> DO_W<'_, MAC_CONFIGURATION_SPEC>
Bit 13 - Disable Receive Own
sourcepub fn fes(&mut self) -> FES_W<'_, MAC_CONFIGURATION_SPEC>
pub fn fes(&mut self) -> FES_W<'_, MAC_CONFIGURATION_SPEC>
Bit 14 - Speed
sourcepub fn dcrs(&mut self) -> DCRS_W<'_, MAC_CONFIGURATION_SPEC>
pub fn dcrs(&mut self) -> DCRS_W<'_, MAC_CONFIGURATION_SPEC>
Bit 16 - Disable Carrier Sense During Transmission
sourcepub fn ifg(&mut self) -> IFG_W<'_, MAC_CONFIGURATION_SPEC>
pub fn ifg(&mut self) -> IFG_W<'_, MAC_CONFIGURATION_SPEC>
Bits 17:19 - Inter-Frame Gap
sourcepub fn je(&mut self) -> JE_W<'_, MAC_CONFIGURATION_SPEC>
pub fn je(&mut self) -> JE_W<'_, MAC_CONFIGURATION_SPEC>
Bit 20 - Jumbo Frame Enable
sourcepub fn jd(&mut self) -> JD_W<'_, MAC_CONFIGURATION_SPEC>
pub fn jd(&mut self) -> JD_W<'_, MAC_CONFIGURATION_SPEC>
Bit 22 - Jabber Disable
sourcepub fn wd(&mut self) -> WD_W<'_, MAC_CONFIGURATION_SPEC>
pub fn wd(&mut self) -> WD_W<'_, MAC_CONFIGURATION_SPEC>
Bit 23 - Watchdog Disable
sourcepub fn cst(&mut self) -> CST_W<'_, MAC_CONFIGURATION_SPEC>
pub fn cst(&mut self) -> CST_W<'_, MAC_CONFIGURATION_SPEC>
Bit 25 - CRC Stripping of Type Frames
sourcepub fn twokpe(&mut self) -> TWOKPE_W<'_, MAC_CONFIGURATION_SPEC>
pub fn twokpe(&mut self) -> TWOKPE_W<'_, MAC_CONFIGURATION_SPEC>
Bit 27 - IEEE 802.3as support for 2K packets Enable