#[repr(C)]
pub struct RegisterBlock { /* private fields */ }
Expand description

Register block

Implementations§

source§

impl RegisterBlock

source

pub const fn emacconfig(&self) -> &EMACCONFIG

0x00 - MAC configuration

source

pub const fn emacff(&self) -> &EMACFF

0x04 - Frame filter settings

source

pub const fn emacgmiiaddr(&self) -> &EMACGMIIADDR

0x10 - PHY configuration access

source

pub const fn emacmiidata(&self) -> &EMACMIIDATA

0x14 - PHY data read write

source

pub const fn emacfc(&self) -> &EMACFC

0x18 - Frame flow control

source

pub const fn emacdebug(&self) -> &EMACDEBUG

0x24 - Status debugging bits

source

pub const fn pmt_rwuffr(&self) -> &PMT_RWUFFR

0x28 - The MSB (31st bit) must be zero.Bit j[30:0] is the byte mask. If Bit 1/2/3/4 (byte number) of the byte mask is set the CRC block processes the Filter 1/2/3/4 Offset + j of the incoming packet(PWKPTR is 0/1/2/3).RWKPTR is 0:Filter 0 Byte Mask .RWKPTR is 1:Filter 1 Byte Mask RWKPTR is 2:Filter 2 Byte Mask RWKPTR is 3:Filter 3 Byte Mask RWKPTR is 4:Bit 3/11/19/27 specifies the address type defining the destination address type of the pattern.When the bit is set the pattern applies to only multicast packets

source

pub const fn pmt_csr(&self) -> &PMT_CSR

0x2c - PMT Control and Status

source

pub const fn emaclpi_crs(&self) -> &EMACLPI_CRS

0x30 - LPI Control and Status

source

pub const fn emaclpitimerscontrol(&self) -> &EMACLPITIMERSCONTROL

0x34 - LPI Timers Control

source

pub const fn emacints(&self) -> &EMACINTS

0x38 - Interrupt status

source

pub const fn emacintmask(&self) -> &EMACINTMASK

0x3c - Interrupt mask

source

pub const fn emacaddr0high(&self) -> &EMACADDR0HIGH

0x40 - Upper 16 bits of the first 6-byte MAC address

source

pub const fn emacaddr0low(&self) -> &EMACADDR0LOW

0x44 - This field contains the lower 32 bits of the first 6-byte MAC address. This is used by the MAC for filtering the received frames and inserting the MAC address in the Transmit Flow Control (Pause) Frames.

source

pub const fn emacaddr1high(&self) -> &EMACADDR1HIGH

0x48 - Upper 16 bits of the second 6-byte MAC address

source

pub const fn emacaddr1low(&self) -> &EMACADDR1LOW

0x4c - This field contains the lower 32 bits of the second 6-byte MAC address.The content of this field is undefined so the register needs to be configured after the initialization Process.

source

pub const fn emacaddr2high(&self) -> &EMACADDR2HIGH

0x50 - Upper 16 bits of the third 6-byte MAC address

source

pub const fn emacaddr2low(&self) -> &EMACADDR2LOW

0x54 - This field contains the lower 32 bits of the third 6-byte MAC address. The content of this field is undefined so the register needs to be configured after the initialization process.

source

pub const fn emacaddr3high(&self) -> &EMACADDR3HIGH

0x58 - Upper 16 bits of the fourth 6-byte MAC address

source

pub const fn emacaddr3low(&self) -> &EMACADDR3LOW

0x5c - This field contains the lower 32 bits of the fourth 6-byte MAC address.The content of this field is undefined so the register needs to be configured after the initialization Process.

source

pub const fn emacaddr4high(&self) -> &EMACADDR4HIGH

0x60 - Upper 16 bits of the fifth 6-byte MAC address

source

pub const fn emacaddr4low(&self) -> &EMACADDR4LOW

0x64 - This field contains the lower 32 bits of the fifth 6-byte MAC address. The content of this field is undefined so the register needs to be configured after the initialization process.

source

pub const fn emacaddr5high(&self) -> &EMACADDR5HIGH

0x68 - Upper 16 bits of the sixth 6-byte MAC address

source

pub const fn emacaddr5low(&self) -> &EMACADDR5LOW

0x6c - This field contains the lower 32 bits of the sixth 6-byte MAC address. The content of this field is undefined so the register needs to be configured after the initialization process.

source

pub const fn emacaddr6high(&self) -> &EMACADDR6HIGH

0x70 - Upper 16 bits of the seventh 6-byte MAC address

source

pub const fn emacaddr6low(&self) -> &EMACADDR6LOW

0x74 - This field contains the lower 32 bits of the seventh 6-byte MAC address.The content of this field is undefined so the register needs to be configured after the initialization Process.

source

pub const fn emacaddr7high(&self) -> &EMACADDR7HIGH

0x78 - Upper 16 bits of the eighth 6-byte MAC address

source

pub const fn emacaddr7low(&self) -> &EMACADDR7LOW

0x7c - This field contains the lower 32 bits of the eighth 6-byte MAC address.The content of this field is undefined so the register needs to be configured after the initialization Process.

source

pub const fn emaccstatus(&self) -> &EMACCSTATUS

0xd8 - Link communication status

source

pub const fn emacwdogto(&self) -> &EMACWDOGTO

0xdc - Watchdog timeout control

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>,

§

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>,

§

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.