embassy-stm32

Crates

git

Versions

stm32h743ii

Flavors

embassy_stm32::peripherals

Struct ETH

Source
pub struct ETH { /* private fields */ }
Expand description

ETH peripheral

Implementations§

Source§

impl ETH

Source

pub unsafe fn steal() -> Self

Unsafely create an instance of this peripheral out of thin air.

§Safety

You must ensure that you’re only using one instance of this type at a time.

Trait Implementations§

Source§

impl CRSPin<ETH> for PA7

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as CRSPin
Source§

impl MDCPin<ETH> for PC1

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as MDCPin
Source§

impl MDIOPin<ETH> for PA2

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as MDIOPin
Source§

impl Peripheral for ETH

Source§

type P = ETH

Peripheral singleton type
Source§

unsafe fn clone_unchecked(&self) -> Self::P

Unsafely clone (duplicate) a peripheral singleton. Read more
Source§

fn into_ref<'a>(self) -> PeripheralRef<'a, Self::P>
where Self: 'a,

Convert a value into a PeripheralRef. Read more
Source§

impl RXClkPin<ETH> for PA1

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as RXClkPin
Source§

impl RXD0Pin<ETH> for PC4

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as RXD0Pin
Source§

impl RXD1Pin<ETH> for PC5

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as RXD1Pin
Source§

impl RXD2Pin<ETH> for PB0

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as RXD2Pin
Source§

impl RXD2Pin<ETH> for PH6

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as RXD2Pin
Source§

impl RXD3Pin<ETH> for PB1

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as RXD3Pin
Source§

impl RXD3Pin<ETH> for PH7

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as RXD3Pin
Source§

impl RXDVPin<ETH> for PA7

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as RXDVPin
Source§

impl RefClkPin<ETH> for PA1

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as RefClkPin
Source§

impl TXClkPin<ETH> for PC3

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as TXClkPin
Source§

impl TXD0Pin<ETH> for PB12

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as TXD0Pin
Source§

impl TXD0Pin<ETH> for PG13

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as TXD0Pin
Source§

impl TXD1Pin<ETH> for PB13

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as TXD1Pin
Source§

impl TXD1Pin<ETH> for PG12

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as TXD1Pin
Source§

impl TXD1Pin<ETH> for PG14

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as TXD1Pin
Source§

impl TXD2Pin<ETH> for PC2

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as TXD2Pin
Source§

impl TXD3Pin<ETH> for PB8

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as TXD3Pin
Source§

impl TXD3Pin<ETH> for PE2

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as TXD3Pin
Source§

impl TXEnPin<ETH> for PB11

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as TXEnPin
Source§

impl TXEnPin<ETH> for PG11

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as TXEnPin
Source§

impl Instance for ETH

Source§

impl RccPeripheral for ETH

Auto Trait Implementations§

§

impl Freeze for ETH

§

impl RefUnwindSafe for ETH

§

impl Send for ETH

§

impl Sync for ETH

§

impl Unpin for ETH

§

impl UnwindSafe for ETH

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>,

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.