Embassy
stm32-metapac

Crates

git

Versions

stm32f769bg

Flavors

pub struct EthernetMac { /* private fields */ }
Expand description

Ethernet: media access control (MAC)

Implementations§

§

impl EthernetMac

pub const unsafe fn from_ptr(ptr: *mut ()) -> Self

pub const fn as_ptr(&self) -> *mut ()

pub const fn maccr(self) -> Reg<Maccr, RW>

Ethernet MAC configuration register

pub const fn macffr(self) -> Reg<Macffr, RW>

Ethernet MAC frame filter register

pub const fn machthr(self) -> Reg<Machthr, RW>

Ethernet MAC hash table high register

pub const fn machtlr(self) -> Reg<Machtlr, RW>

Ethernet MAC hash table low register

pub const fn macmiiar(self) -> Reg<Macmiiar, RW>

Ethernet MAC MII address register

pub const fn macmiidr(self) -> Reg<Macmiidr, RW>

Ethernet MAC MII data register

pub const fn macfcr(self) -> Reg<Macfcr, RW>

Ethernet MAC flow control register

pub const fn macvlantr(self) -> Reg<Macvlantr, RW>

Ethernet MAC VLAN tag register

pub const fn macrwuffr(self) -> Reg<u32, RW>

Ethernet MAC remote wakeup frame filter register

pub const fn macpmtcsr(self) -> Reg<Macpmtcsr, RW>

Ethernet MAC PMT control and status register

pub const fn macdbgr(self) -> Reg<Macdbgr, R>

Ethernet MAC debug register

pub const fn macsr(self) -> Reg<Macsr, RW>

Ethernet MAC interrupt status register

pub const fn macimr(self) -> Reg<Macimr, RW>

Ethernet MAC interrupt mask register

pub const fn maca0hr(self) -> Reg<Maca0hr, RW>

Ethernet MAC address 0 high register

pub const fn maca0lr(self) -> Reg<Maca0lr, RW>

Ethernet MAC address 0 low register

pub const fn macahr(self, n: usize) -> Reg<Macahr, RW>

Ethernet MAC address 1/2/3 high register

pub const fn macalr(self, n: usize) -> Reg<Macalr, RW>

Ethernet MAC address 1/2/3 low register

pub const fn mmccr(self) -> Reg<Mmccr, RW>

Ethernet MMC control register

pub const fn mmcrir(self) -> Reg<Mmcrir, RW>

Ethernet MMC receive interrupt register

pub const fn mmctir(self) -> Reg<Mmctir, R>

Ethernet MMC transmit interrupt register

pub const fn mmcrimr(self) -> Reg<Mmcrimr, RW>

Ethernet MMC receive interrupt mask register

pub const fn mmctimr(self) -> Reg<Mmctimr, RW>

Ethernet MMC transmit interrupt mask register

pub const fn mmctgfsccr(self) -> Reg<Mmctgfsccr, R>

Ethernet MMC transmitted good frames after a single collision counter

pub const fn mmctgfmsccr(self) -> Reg<Mmctgfmsccr, R>

Ethernet MMC transmitted good frames after more than a single collision

pub const fn mmctgfcr(self) -> Reg<Mmctgfcr, R>

Ethernet MMC transmitted good frames counter register

pub const fn mmcrfcecr(self) -> Reg<Mmcrfcecr, R>

Ethernet MMC received frames with CRC error counter register

pub const fn mmcrfaecr(self) -> Reg<Mmcrfaecr, R>

Ethernet MMC received frames with alignment error counter register

pub const fn mmcrgufcr(self) -> Reg<Mmcrgufcr, R>

MMC received good unicast frames counter register

Trait Implementations§

§

impl Clone for EthernetMac

§

fn clone(&self) -> EthernetMac

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl PartialEq for EthernetMac

§

fn eq(&self, other: &EthernetMac) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Copy for EthernetMac

§

impl Eq for EthernetMac

§

impl Send for EthernetMac

§

impl StructuralEq for EthernetMac

§

impl StructuralPartialEq for EthernetMac

§

impl Sync for EthernetMac

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.