Embassy
embassy-stm32

Crates

git

Versions

stm32wl55cc-cm0p

Flavors

Enum embassy_stm32::interrupt::Interrupt

pub enum Interrupt {
Show 32 variants TZIC_ILA = 0, PVD_PVM = 1, RTC_LSECSS = 2, RCC_FLASH_C1SEV = 3, EXTI1_0 = 4, EXTI3_2 = 5, EXTI15_4 = 6, ADC_COMP_DAC = 7, DMA1_CHANNEL1_2_3 = 8, DMA1_CHANNEL4_5_6_7 = 9, DMA2_DMAMUX1_OVR = 10, LPTIM1 = 11, LPTIM2 = 12, LPTIM3 = 13, TIM1 = 14, TIM2 = 15, TIM16 = 16, TIM17 = 17, IPCC_C2_RX_C2_TX = 18, HSEM = 19, RNG = 20, AES_PKA = 21, I2C1 = 22, I2C2 = 23, I2C3 = 24, SPI1 = 25, SPI2 = 26, USART1 = 27, USART2 = 28, LPUART1 = 29, SUBGHZSPI = 30, SUBGHZ_RADIO = 31,
}

Variants§

§

TZIC_ILA = 0

0 - TZIC_ILA

§

PVD_PVM = 1

1 - PVD_PVM

§

RTC_LSECSS = 2

2 - RTC_LSECSS

§

RCC_FLASH_C1SEV = 3

3 - RCC_FLASH_C1SEV

§

EXTI1_0 = 4

4 - EXTI1_0

§

EXTI3_2 = 5

5 - EXTI3_2

§

EXTI15_4 = 6

6 - EXTI15_4

§

ADC_COMP_DAC = 7

7 - ADC_COMP_DAC

§

DMA1_CHANNEL1_2_3 = 8

8 - DMA1_CHANNEL1_2_3

§

DMA1_CHANNEL4_5_6_7 = 9

9 - DMA1_CHANNEL4_5_6_7

§

DMA2_DMAMUX1_OVR = 10

10 - DMA2_DMAMUX1_OVR

§

LPTIM1 = 11

11 - LPTIM1

§

LPTIM2 = 12

12 - LPTIM2

§

LPTIM3 = 13

13 - LPTIM3

§

TIM1 = 14

14 - TIM1

§

TIM2 = 15

15 - TIM2

§

TIM16 = 16

16 - TIM16

§

TIM17 = 17

17 - TIM17

§

IPCC_C2_RX_C2_TX = 18

18 - IPCC_C2_RX_C2_TX

§

HSEM = 19

19 - HSEM

§

RNG = 20

20 - RNG

§

AES_PKA = 21

21 - AES_PKA

§

I2C1 = 22

22 - I2C1

§

I2C2 = 23

23 - I2C2

§

I2C3 = 24

24 - I2C3

§

SPI1 = 25

25 - SPI1

§

SPI2 = 26

26 - SPI2

§

USART1 = 27

27 - USART1

§

USART2 = 28

28 - USART2

§

LPUART1 = 29

29 - LPUART1

§

SUBGHZSPI = 30

30 - SUBGHZSPI

§

SUBGHZ_RADIO = 31

31 - SUBGHZ_RADIO

Trait Implementations§

§

impl Clone for Interrupt

§

fn clone(&self) -> Interrupt

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Interrupt

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl InterruptNumber for Interrupt

§

fn number(self) -> u16

Return the interrupt number associated with this variant. Read more
§

impl PartialEq for Interrupt

§

fn eq(&self, other: &Interrupt) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Copy for Interrupt

§

impl Eq for Interrupt

§

impl StructuralPartialEq for Interrupt

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> InterruptExt for T
where T: InterruptNumber + Copy,

source§

unsafe fn enable(self)

Enable the interrupt.
source§

fn disable(self)

Disable the interrupt.
source§

fn is_active(self) -> bool

Check if interrupt is being handled.
source§

fn is_enabled(self) -> bool

Check if interrupt is enabled.
source§

fn is_pending(self) -> bool

Check if interrupt is pending.
source§

fn pend(self)

Set interrupt pending.
source§

fn unpend(self)

Unset interrupt pending.
source§

fn get_priority(self) -> Priority

Get the priority of the interrupt.
source§

fn set_priority(self, prio: Priority)

Set the interrupt priority.
source§

fn set_priority_with_cs(self, _cs: CriticalSection<'_>, prio: Priority)

Set the interrupt priority with an already-acquired critical section Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.