embassy-stm32

Crates

git

Versions

stm32h562ri

Flavors

embassy_stm32::i2c

Trait Instance

Source
pub trait Instance:
    Peripheral<P = Self>
    + SealedInstance
    + RccPeripheral {
    type EventInterrupt: Interrupt;
    type ErrorInterrupt: Interrupt;
}
Expand description

Peripheral instance trait.

Required Associated Types§

Source

type EventInterrupt: Interrupt

Interrupt for this peripheral.

Source

type ErrorInterrupt: Interrupt

Interrupt for this peripheral.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§