embassy-stm32

Crates

git

Versions

stm32u083hc

Flavors

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§

ADC_COMP1_2
ADC_COMP1_2 typelevel interrupt.
DMA1_CH4_7_DMA2_CH1_5_DMAMUX_OVR
DMA1_CH4_7_DMA2_CH1_5_DMAMUX_OVR typelevel interrupt.
DMA1_CHANNEL1
DMA1_CHANNEL1 typelevel interrupt.
DMA1_CHANNEL2_3
DMA1_CHANNEL2_3 typelevel interrupt.
EXTI0_1
EXTI0_1 typelevel interrupt.
EXTI2_3
EXTI2_3 typelevel interrupt.
EXTI4_15
EXTI4_15 typelevel interrupt.
FLASH_ECC
FLASH_ECC typelevel interrupt.
I2C1
I2C1 typelevel interrupt.
I2C2_3_4
I2C2_3_4 typelevel interrupt.
LCD
LCD typelevel interrupt.
PVD_PVM
PVD_PVM typelevel interrupt.
RCC_CRS
RCC_CRS typelevel interrupt.
RNG_CRYP
RNG_CRYP typelevel interrupt.
RTC_TAMP
RTC_TAMP typelevel interrupt.
SPI1
SPI1 typelevel interrupt.
SPI2_3
SPI2_3 typelevel interrupt.
TIM2
TIM2 typelevel interrupt.
TIM3
TIM3 typelevel interrupt.
TIM1_BRK_UP_TRG_COM
TIM1_BRK_UP_TRG_COM typelevel interrupt.
TIM1_CC
TIM1_CC typelevel interrupt.
TIM6_DAC_LPTIM1
TIM6_DAC_LPTIM1 typelevel interrupt.
TIM7_LPTIM2
TIM7_LPTIM2 typelevel interrupt.
TIM16
TIM16 typelevel interrupt.
TIM15_LPTIM3
TIM15_LPTIM3 typelevel interrupt.
TSC
TSC typelevel interrupt.
USART1
USART1 typelevel interrupt.
USART2_LPUART2
USART2_LPUART2 typelevel interrupt.
USART3_LPUART1
USART3_LPUART1 typelevel interrupt.
USART4_LPUART3
USART4_LPUART3 typelevel interrupt.
USB_DRD_FS
USB_DRD_FS typelevel interrupt.
WWDG_IWDG
WWDG_IWDG typelevel interrupt.

Traits§

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