Embassy
embassy-rp

Crates

git

Versions

rp2040

Flavors

Module embassy_rp::interrupt::typelevel

source ·
Expand description

Type-level interrupt infrastructure.

This module contains one type per interrupt. This is used for checking at compile time that the interrupts are correctly bound to HAL drivers.

As an end user, you shouldn’t need to use this module directly. Use the crate::bind_interrupts! macro to bind interrupts, and the [crate::interrupt] module to manually register interrupt handlers and manipulate interrupts directly (pending/unpending, enabling/disabling, setting the priority, etc…)

Enums§

Traits§

  • Compile-time assertion that an interrupt has been bound to a handler.
  • Interrupt handler trait.
  • Type-level interrupt.