embassy-stm32

Crates

git

Versions

stm32f101vg

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 typelevel interrupt.
  • DMA1_CHANNEL1 typelevel interrupt.
  • DMA1_CHANNEL2 typelevel interrupt.
  • DMA1_CHANNEL3 typelevel interrupt.
  • DMA1_CHANNEL4 typelevel interrupt.
  • DMA1_CHANNEL5 typelevel interrupt.
  • DMA1_CHANNEL6 typelevel interrupt.
  • DMA1_CHANNEL7 typelevel interrupt.
  • DMA2_CHANNEL1 typelevel interrupt.
  • DMA2_CHANNEL2 typelevel interrupt.
  • DMA2_CHANNEL3 typelevel interrupt.
  • DMA2_CHANNEL4_5 typelevel interrupt.
  • EXTI0 typelevel interrupt.
  • EXTI1 typelevel interrupt.
  • EXTI2 typelevel interrupt.
  • EXTI3 typelevel interrupt.
  • EXTI4 typelevel interrupt.
  • EXTI9_5 typelevel interrupt.
  • EXTI15_10 typelevel interrupt.
  • FLASH typelevel interrupt.
  • FSMC typelevel interrupt.
  • I2C1_ER typelevel interrupt.
  • I2C1_EV typelevel interrupt.
  • I2C2_ER typelevel interrupt.
  • I2C2_EV typelevel interrupt.
  • PVD typelevel interrupt.
  • RCC typelevel interrupt.
  • RTC typelevel interrupt.
  • RTC_ALARM typelevel interrupt.
  • SPI1 typelevel interrupt.
  • SPI2 typelevel interrupt.
  • SPI3 typelevel interrupt.
  • TAMPER typelevel interrupt.
  • TIM2 typelevel interrupt.
  • TIM3 typelevel interrupt.
  • TIM4 typelevel interrupt.
  • TIM5 typelevel interrupt.
  • TIM6 typelevel interrupt.
  • TIM7 typelevel interrupt.
  • TIM9 typelevel interrupt.
  • TIM10 typelevel interrupt.
  • TIM11 typelevel interrupt.
  • TIM12 typelevel interrupt.
  • TIM13 typelevel interrupt.
  • TIM14 typelevel interrupt.
  • UART4 typelevel interrupt.
  • UART5 typelevel interrupt.
  • USART1 typelevel interrupt.
  • USART2 typelevel interrupt.
  • USART3 typelevel interrupt.
  • WWDG typelevel interrupt.

Traits§

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