embassy-stm32

Crates

git

Versions

stm32h563ri

Flavors

๐Ÿ“ฃ We want to hear from you! Fill the Rust Embedded 2024 micro-survey.

Struct embassy_stm32::peripherals::ETH

ยท
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 RXD3Pin<ETH> for PB1

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 PC10

sourceยง

fn af_num(&self) -> u8

Get the AF number needed to use this pin as TXD0Pin
sourceยง

impl TXD1Pin<ETH> for PB15

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 TXEnPin<ETH> for PA5

sourceยง

fn af_num(&self) -> u8

Get the AF number needed to use this pin as TXEnPin
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 Instance for ETH

sourceยง

impl RccPeripheral for ETH

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