embassy-nrf

Crates

git

Versions

nrf51

Flavors

embassy_nrf::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§

  • AAR_CCM typelevel interrupt.
  • ADC typelevel interrupt.
  • CLOCK_POWER typelevel interrupt.
  • ECB typelevel interrupt.
  • GPIOTE typelevel interrupt.
  • LPCOMP typelevel interrupt.
  • QDEC typelevel interrupt.
  • RADIO typelevel interrupt.
  • RNG typelevel interrupt.
  • RTC0 typelevel interrupt.
  • RTC1 typelevel interrupt.
  • SWI0 typelevel interrupt.
  • SWI1 typelevel interrupt.
  • SWI2 typelevel interrupt.
  • SWI3 typelevel interrupt.
  • SWI4 typelevel interrupt.
  • SWI5 typelevel interrupt.
  • TEMP typelevel interrupt.
  • TIMER0 typelevel interrupt.
  • TIMER1 typelevel interrupt.
  • TIMER2 typelevel interrupt.
  • TWISPI0 typelevel interrupt.
  • TWISPI1 typelevel interrupt.
  • UART0 typelevel interrupt.
  • WDT typelevel interrupt.

Traits§

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