pub struct Stm32f7EthDriver { /* private fields */ }Expand description
STM32F7 ETH MAC driver.
Implementations§
Trait Implementations§
Source§impl Driver for Stm32f7EthDriver
impl Driver for Stm32f7EthDriver
Source§type RxToken<'a> = Stm32f7EthRx
where
Self: 'a
type RxToken<'a> = Stm32f7EthRx where Self: 'a
A token to receive a single network packet.
Source§type TxToken<'a> = Stm32f7EthTx
where
Self: 'a
type TxToken<'a> = Stm32f7EthTx where Self: 'a
A token to transmit a single network packet.
Source§fn receive(
&mut self,
cx: &mut Context<'_>,
) -> Option<(Self::RxToken<'_>, Self::TxToken<'_>)>
fn receive( &mut self, cx: &mut Context<'_>, ) -> Option<(Self::RxToken<'_>, Self::TxToken<'_>)>
Construct a token pair consisting of one receive token and one transmit token. Read more
Source§fn transmit(&mut self, _cx: &mut Context<'_>) -> Option<Self::TxToken<'_>>
fn transmit(&mut self, _cx: &mut Context<'_>) -> Option<Self::TxToken<'_>>
Construct a transmit token. Read more
Source§fn capabilities(&self) -> Capabilities
fn capabilities(&self) -> Capabilities
Get a description of device capabilities.
Source§fn hardware_address(&self) -> HardwareAddress
fn hardware_address(&self) -> HardwareAddress
Get the device’s hardware address. Read more
Auto Trait Implementations§
impl Freeze for Stm32f7EthDriver
impl RefUnwindSafe for Stm32f7EthDriver
impl Send for Stm32f7EthDriver
impl Sync for Stm32f7EthDriver
impl Unpin for Stm32f7EthDriver
impl UnsafeUnpin for Stm32f7EthDriver
impl UnwindSafe for Stm32f7EthDriver
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