embassy-stm32

Crates

git

Versions

stm32f072c8

Flavors

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

  • ADC1_COMP typelevel interrupt.
  • CEC_CAN typelevel interrupt.
  • DMA1_CHANNEL1 typelevel interrupt.
  • DMA1_CHANNEL2_3 typelevel interrupt.
  • DMA1_CHANNEL4_5_6_7 typelevel interrupt.
  • EXTI0_1 typelevel interrupt.
  • EXTI2_3 typelevel interrupt.
  • EXTI4_15 typelevel interrupt.
  • FLASH typelevel interrupt.
  • I2C1 typelevel interrupt.
  • I2C2 typelevel interrupt.
  • PVD_VDDIO2 typelevel interrupt.
  • RCC_CRS typelevel interrupt.
  • RTC typelevel interrupt.
  • SPI1 typelevel interrupt.
  • SPI2 typelevel interrupt.
  • TIM2 typelevel interrupt.
  • TIM3 typelevel interrupt.
  • TIM7 typelevel interrupt.
  • TIM1_BRK_UP_TRG_COM typelevel interrupt.
  • TIM1_CC typelevel interrupt.
  • TIM6_DAC typelevel interrupt.
  • TIM14 typelevel interrupt.
  • TIM15 typelevel interrupt.
  • TIM16 typelevel interrupt.
  • TIM17 typelevel interrupt.
  • TSC typelevel interrupt.
  • USART1 typelevel interrupt.
  • USART2 typelevel interrupt.
  • USART3_4 typelevel interrupt.
  • USB typelevel interrupt.
  • WWDG typelevel interrupt.

Traits§

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