Struct stm32_metapac::eth::EthernetMac
pub struct EthernetMac { /* private fields */ }
Expand description
Ethernet: media access control (MAC)
Implementations§
§impl EthernetMac
impl EthernetMac
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
pub const fn mmctgfsccr(self) -> Reg<Mmctgfsccr, R>
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>
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>
pub const fn mmctgfcr(self) -> Reg<Mmctgfcr, R>
Ethernet MMC transmitted good frames counter register
pub const fn mmcrfcecr(self) -> Reg<Mmcrfcecr, R>
pub const fn mmcrfcecr(self) -> Reg<Mmcrfcecr, R>
Ethernet MMC received frames with CRC error counter register
Trait Implementations§
§impl Clone for EthernetMac
impl Clone for EthernetMac
§fn clone(&self) -> EthernetMac
fn clone(&self) -> EthernetMac
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl PartialEq for EthernetMac
impl PartialEq for EthernetMac
§fn eq(&self, other: &EthernetMac) -> bool
fn eq(&self, other: &EthernetMac) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more