embassy-rp

Crates

git

Versions

rp2040

Flavors

embassy_rp::interrupt

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