embassy-stm32

Crates

git

Versions

stm32g441mb

Flavors

InterruptableInstance

Trait InterruptableInstance 

Source
pub trait InterruptableInstance: Instance {
    type Interrupt: Interrupt;
}
Expand description

Marks an AES instance that has its own dedicated interrupt vector.

The async API (Aes::new and the async cipher flow) is only available for instances implementing this trait. It is implemented automatically for parts whose metapac binds a dedicated GLOBAL AES interrupt (e.g. STM32L5, WL), and is absent where the engine shares its vector with another peripheral (U0, G0, G4) — on those, use the blocking API.

Required Associated Types§

Source

type Interrupt: Interrupt

The dedicated interrupt for this AES instance.

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§