embassy-stm32

Crates

git

Versions

stm32u595qi

Flavors

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

Trait embassy_stm32::interrupt::typelevel::Handler

ยท
pub trait Handler<I: Interrupt> {
    // Required method
    unsafe fn on_interrupt();
}
Expand description

Interrupt handler trait.

Drivers that need to handle interrupts implement this trait. The user must ensure on_interrupt() is called every time the interrupt fires. Drivers must use use Binding to assert at compile time that the user has done so.

Required Methodsยง

source

unsafe fn on_interrupt()

Interrupt handler function.

Must be called every time the I interrupt fires, synchronously from the interrupt handler context.

ยงSafety

This function must ONLY be called from the interrupt handler for I.

Object Safetyยง

This trait is not object safe.

Implementorsยง

sourceยง

impl<T: Instance> Handler<<T as Instance>::IT0Interrupt> for IT0InterruptHandler<T>

sourceยง

impl<T: Instance> Handler<<T as Instance>::IT1Interrupt> for IT1InterruptHandler<T>

sourceยง

impl<T: Instance> Handler<<T as Instance>::Interrupt> for embassy_stm32::dcmi::InterruptHandler<T>

sourceยง

impl<T: Instance> Handler<<T as Instance>::Interrupt> for embassy_stm32::hash::InterruptHandler<T>

sourceยง

impl<T: Instance> Handler<<T as Instance>::ErrorInterrupt> for ErrorInterruptHandler<T>

sourceยง

impl<T: Instance> Handler<<T as Instance>::EventInterrupt> for EventInterruptHandler<T>

sourceยง

impl<T: Instance> Handler<<T as Instance>::Interrupt> for embassy_stm32::rng::InterruptHandler<T>

sourceยง

impl<T: Instance> Handler<<T as Instance>::Interrupt> for embassy_stm32::sdmmc::InterruptHandler<T>

sourceยง

impl<T: CoreInstance> Handler<<T as CoreInstance>::UpdateInterrupt> for UpdateInterruptHandler<T>

sourceยง

impl<T: GeneralInstance1Channel> Handler<<T as GeneralInstance1Channel>::CaptureCompareInterrupt> for CaptureCompareInterruptHandler<T>

sourceยง

impl<T: Instance> Handler<<T as Instance>::Interrupt> for embassy_stm32::tsc::InterruptHandler<T>

sourceยง

impl<T: Instance> Handler<<T as Instance>::Interrupt> for embassy_stm32::ucpd::InterruptHandler<T>

sourceยง

impl<T: Instance> Handler<<T as Instance>::Interrupt> for embassy_stm32::usart::BufferedInterruptHandler<T>

sourceยง

impl<T: Instance> Handler<<T as Instance>::Interrupt> for embassy_stm32::usart::InterruptHandler<T>

sourceยง

impl<T: Instance> Handler<<T as Instance>::Interrupt> for embassy_stm32::usb::InterruptHandler<T>