RegisterBlock

Struct RegisterBlock 

Source
pub struct RegisterBlock {
Show 18 fields pub mode: MODE, pub int_source: INT_SOURCE, pub int_mask: INT_MASK, pub ipgt: IPGT, pub packetlen: PACKETLEN, pub collconfig: COLLCONFIG, pub tx_bd_num: TX_BD_NUM, pub miimode: MIIMODE, pub miicommand: MIICOMMAND, pub miiaddress: MIIADDRESS, pub miitx_data: MIITX_DATA, pub miirx_data: MIIRX_DATA, pub miistatus: MIISTATUS, pub mac_addr0: MAC_ADDR0, pub mac_addr1: MAC_ADDR1, pub hash0_addr: HASH0_ADDR, pub hash1_addr: HASH1_ADDR, pub txctrl: TXCTRL, /* private fields */
}
Expand description

Register block

Fields§

§mode: MODE

0x00 - MODE.

§int_source: INT_SOURCE

0x04 - INT_SOURCE.

§int_mask: INT_MASK

0x08 - INT_MASK.

§ipgt: IPGT

0x0c - IPGT.

§packetlen: PACKETLEN

0x18 - PACKETLEN.

§collconfig: COLLCONFIG

0x1c - COLLCONFIG.

§tx_bd_num: TX_BD_NUM

0x20 - TX_BD_NUM.

§miimode: MIIMODE

0x28 - MIIMODE.

§miicommand: MIICOMMAND

0x2c - MIICOMMAND.

§miiaddress: MIIADDRESS

0x30 - MIIADDRESS.

§miitx_data: MIITX_DATA

0x34 - MIITX_DATA.

§miirx_data: MIIRX_DATA

0x38 - MIIRX_DATA.

§miistatus: MIISTATUS

0x3c - MIISTATUS.

§mac_addr0: MAC_ADDR0

0x40 - MAC_ADDR0.

§mac_addr1: MAC_ADDR1

0x44 - MAC_ADDR1.

§hash0_addr: HASH0_ADDR

0x48 - HASH0_ADDR.

§hash1_addr: HASH1_ADDR

0x4c - HASH1_ADDR.

§txctrl: TXCTRL

0x50 - TXCTRL.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.