embassy-stm32

Crates

git

Versions

stm32g0c1ne

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§

ADC1_COMP
ADC1_COMP typelevel interrupt.
AES_RNG
AES_RNG typelevel interrupt.
CEC
CEC typelevel interrupt.
DMA1_CH4_7_DMA2_CH1_5_DMAMUX1_OVR
DMA1_CH4_7_DMA2_CH1_5_DMAMUX1_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
FLASH typelevel interrupt.
I2C1
I2C1 typelevel interrupt.
I2C2_3
I2C2_3 typelevel interrupt.
PVD_VDDIO2
PVD_VDDIO2 typelevel interrupt.
RCC_CRS
RCC_CRS typelevel interrupt.
RTC_TAMP
RTC_TAMP typelevel interrupt.
SPI1
SPI1 typelevel interrupt.
SPI2_3
SPI2_3 typelevel interrupt.
TIM2
TIM2 typelevel interrupt.
TIM1_BRK_UP_TRG_COM
TIM1_BRK_UP_TRG_COM typelevel interrupt.
TIM1_CC
TIM1_CC typelevel interrupt.
TIM3_TIM4
TIM3_TIM4 typelevel interrupt.
TIM6_DAC_LPTIM1
TIM6_DAC_LPTIM1 typelevel interrupt.
TIM7_LPTIM2
TIM7_LPTIM2 typelevel interrupt.
TIM14
TIM14 typelevel interrupt.
TIM15
TIM15 typelevel interrupt.
TIM16_FDCAN_IT0
TIM16_FDCAN_IT0 typelevel interrupt.
TIM17_FDCAN_IT1
TIM17_FDCAN_IT1 typelevel interrupt.
USART1
USART1 typelevel interrupt.
USART2_LPUART2
USART2_LPUART2 typelevel interrupt.
USART3_4_5_6_LPUART1
USART3_4_5_6_LPUART1 typelevel interrupt.
USB_UCPD1_2
USB_UCPD1_2 typelevel interrupt.
WWDG
WWDG typelevel interrupt.

Traits§

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