stm32-metapac

Crates

9.0.0

Versions

stm32f469bi

Flavors

Struct EthernetMac

pub struct EthernetMac(pub *mut u8);
Expand description

Ethernet: media access control (MAC)

Tuple Fields§

§0: *mut u8

Implementations§

§

impl EthernetMac

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

Ethernet MAC configuration register

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

Ethernet MAC frame filter register

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

Ethernet MAC hash table high register

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

Ethernet MAC hash table low register

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

Ethernet MAC MII address register

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

Ethernet MAC MII data register

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

Ethernet MAC flow control register

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

Ethernet MAC VLAN tag register

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

Ethernet MAC remote wakeup frame filter register

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

Ethernet MAC PMT control and status register

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

Ethernet MAC debug register

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

Ethernet MAC interrupt status register

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

Ethernet MAC interrupt mask register

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

Ethernet MAC address 0 high register

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

Ethernet MAC address 0 low register

pub fn maca1hr(self) -> Reg<Maca1hr, RW>

Ethernet MAC address 1 high register

pub fn maca1lr(self) -> Reg<Maca1lr, RW>

Ethernet MAC address1 low register

pub fn maca2hr(self) -> Reg<Maca2hr, RW>

Ethernet MAC address 2 high register

pub fn maca2lr(self) -> Reg<Maca2lr, RW>

Ethernet MAC address 2 low register

pub fn maca3hr(self) -> Reg<Maca3hr, RW>

Ethernet MAC address 3 high register

pub fn maca3lr(self) -> Reg<Maca3lr, RW>

Ethernet MAC address 3 low register

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

Ethernet MMC control register

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

Ethernet MMC receive interrupt register

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

Ethernet MMC transmit interrupt register

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

Ethernet MMC receive interrupt mask register

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

Ethernet MMC transmit interrupt mask register

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

Ethernet MMC transmitted good frames after a single collision counter

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

Ethernet MMC transmitted good frames after more than a single collision

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

Ethernet MMC transmitted good frames counter register

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

Ethernet MMC received frames with CRC error counter register

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

Ethernet MMC received frames with alignment error counter register

pub 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 duplicate of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
§

impl PartialEq for EthernetMac

§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

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 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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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.