Embassy
embassy-nrf

Crates

git

Versions

nrf51

Flavors

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

  • ADC typelevel interrupt.
  • CCM_AAR typelevel interrupt.
  • ECB typelevel interrupt.
  • GPIOTE typelevel interrupt.
  • LPCOMP typelevel interrupt.
  • POWER_CLOCK typelevel interrupt.
  • QDEC typelevel interrupt.
  • RADIO typelevel interrupt.
  • RNG typelevel interrupt.
  • RTC0 typelevel interrupt.
  • RTC1 typelevel interrupt.
  • SPI0_TWI0 typelevel interrupt.
  • SPI1_TWI1 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.
  • 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.