Struct stm32_metapac::eth::Eth
pub struct Eth { /* private fields */ }
Expand description
Ethernet Peripheral
Implementations§
§impl Eth
impl Eth
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
pub const fn ethernet_mac(self) -> EthernetMac
pub const fn ethernet_mac(self) -> EthernetMac
Ethernet: media access control (MAC)
pub const fn ethernet_mtl(self) -> EthernetMtl
pub const fn ethernet_mtl(self) -> EthernetMtl
Ethernet: MTL mode register (MTL)
pub const fn ethernet_dma(self) -> EthernetDma
pub const fn ethernet_dma(self) -> EthernetDma
Ethernet: DMA mode register (DMA)
Trait Implementations§
impl Copy for Eth
impl Eq for Eth
impl Send for Eth
impl StructuralPartialEq for Eth
impl Sync for Eth
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)