RegisterBlock

Struct RegisterBlock 

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

Register block

Implementations§

Source§

impl RegisterBlock

Source

pub const fn mmccr(&self) -> &Reg<MMCCRrs>

0x00 - Ethernet MMC control register (ETH_MMCCR)

Source

pub const fn mmcrir(&self) -> &Reg<MMCRIRrs>

0x04 - Ethernet MMC receive interrupt register (ETH_MMCRIR)

Source

pub const fn mmctir(&self) -> &Reg<MMCTIRrs>

0x08 - Ethernet MMC transmit interrupt register (ETH_MMCTIR)

Source

pub const fn mmcrimr(&self) -> &Reg<MMCRIMRrs>

0x0c - Ethernet MMC receive interrupt mask register (ETH_MMCRIMR)

Source

pub const fn mmctimr(&self) -> &Reg<MMCTIMRrs>

0x10 - Ethernet MMC transmit interrupt mask register (ETH_MMCTIMR)

Source

pub const fn mmctgfsccr(&self) -> &Reg<MMCTGFSCCRrs>

0x4c - Ethernet MMC transmitted good frames after a single collision counter

Source

pub const fn mmctgfmsccr(&self) -> &Reg<MMCTGFMSCCRrs>

0x50 - Ethernet MMC transmitted good frames after more than a single collision

Source

pub const fn mmctgfcr(&self) -> &Reg<MMCTGFCRrs>

0x68 - Ethernet MMC transmitted good frames counter register

Source

pub const fn mmcrfcecr(&self) -> &Reg<MMCRFCECRrs>

0x94 - Ethernet MMC received frames with CRC error counter register

Source

pub const fn mmcrfaecr(&self) -> &Reg<MMCRFAECRrs>

0x98 - Ethernet MMC received frames with alignment error counter register

Source

pub const fn mmcrgufcr(&self) -> &Reg<MMCRGUFCRrs>

0xc4 - MMC received good unicast frames counter register

Trait Implementations§

Source§

impl Debug for RegisterBlock

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

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, const R: u8> RFrom<T, R> for T

Source§

fn rfrom(value: T) -> T

Source§

impl<S, T, const R: u8> RInto<T, R> for S
where T: RFrom<S, R>,

Source§

fn rinto(self) -> T

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.