embassy-stm32

Crates

git

Versions

stm32l152c6-a

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.
  • COMP typelevel interrupt.
  • DAC 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.
  • 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.
  • I2C1_ER typelevel interrupt.
  • I2C1_EV typelevel interrupt.
  • I2C2_ER typelevel interrupt.
  • I2C2_EV typelevel interrupt.
  • LCD typelevel interrupt.
  • PVD typelevel interrupt.
  • RCC typelevel interrupt.
  • RTC_ALARM typelevel interrupt.
  • RTC_WKUP typelevel interrupt.
  • SPI1 typelevel interrupt.
  • SPI2 typelevel interrupt.
  • TAMPER_STAMP typelevel interrupt.
  • TIM2 typelevel interrupt.
  • TIM3 typelevel interrupt.
  • TIM4 typelevel interrupt.
  • TIM6 typelevel interrupt.
  • TIM7 typelevel interrupt.
  • TIM9 typelevel interrupt.
  • TIM10 typelevel interrupt.
  • TIM11 typelevel interrupt.
  • USART1 typelevel interrupt.
  • USART2 typelevel interrupt.
  • USART3 typelevel interrupt.
  • USB_FS_WKUP typelevel interrupt.
  • USB_HP typelevel interrupt.
  • USB_LP typelevel interrupt.
  • WWDG typelevel interrupt.

Traits§

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