[][src]Struct stm32f1xx_hal::pac::ethernet_mac::maccr::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

pub unsafe fn bits(&mut self, bits: u32) -> &mut W[src]

Writes raw bits to the register

pub fn re(&mut self) -> _REW[src]

Bit 2 - Receiver enable

pub fn te(&mut self) -> _TEW[src]

Bit 3 - Transmitter enable

pub fn dc(&mut self) -> _DCW[src]

Bit 4 - Deferral check

pub fn bl(&mut self) -> _BLW[src]

Bits 5:6 - Back-off limit

pub fn apcs(&mut self) -> _APCSW[src]

Bit 7 - Automatic pad/CRC stripping

pub fn rd(&mut self) -> _RDW[src]

Bit 9 - Retry disable

pub fn ipco(&mut self) -> _IPCOW[src]

Bit 10 - IPv4 checksum offload

pub fn dm(&mut self) -> _DMW[src]

Bit 11 - Duplex mode

pub fn lm(&mut self) -> _LMW[src]

Bit 12 - Loopback mode

pub fn rod(&mut self) -> _RODW[src]

Bit 13 - Receive own disable

pub fn fes(&mut self) -> _FESW[src]

Bit 14 - Fast Ethernet speed

pub fn csd(&mut self) -> _CSDW[src]

Bit 16 - Carrier sense disable

pub fn ifg(&mut self) -> _IFGW[src]

Bits 17:19 - Interframe gap

pub fn jd(&mut self) -> _JDW[src]

Bit 22 - Jabber disable

pub fn wd(&mut self) -> _WDW[src]

Bit 23 - Watchdog disable

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> From for T[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T

type Output = T

Should always be Self