Enum gd32f1x0_hal::pac::interrupt[][src]

#[repr(u16)]
pub enum interrupt {
Show variants WWDGT, LVD, RTC, FMC, RCU, EXTI0_1, EXTI2_3, EXTI4_15, TSI, DMA_CHANNEL0, DMA_CHANNEL1_2, DMA_CHANNEL3_4, ADC_CMP, TIMER0_BRK_UP_TRG_COM, TIMER0_CC, TIMER1, TIMER2, TIMER5_DAC, TIMER13, TIMER14, TIMER15, TIMER16, I2C0_EV, I2C1_EV, SPI0, SPI1, USART0, USART1, CEC, I2C0_ER, I2C1_ER, I2C2_EV, I2C2_ER, DMA_CHANNEL5_6, SPI2,
}
Expand description

Enumeration of all the interrupts.

Variants

WWDGT
Expand description

0 - WWDGT

LVD
Expand description

1 - LVD

RTC
Expand description

2 - RTC

FMC
Expand description

3 - FMC

RCU
Expand description

4 - RCU

EXTI0_1
Expand description

5 - EXTI0_1

EXTI2_3
Expand description

6 - EXTI2_3

EXTI4_15
Expand description

7 - EXTI4_15

TSI
Expand description

8 - TSI

DMA_CHANNEL0
Expand description

9 - DMA_Channel0

DMA_CHANNEL1_2
Expand description

10 - DMA_Channel1_2

DMA_CHANNEL3_4
Expand description

11 - DMA_Channel3_4

ADC_CMP
Expand description

12 - ADC_CMP

TIMER0_BRK_UP_TRG_COM
Expand description

13 - TIMER0_BRK_UP_TRG_COM

TIMER0_CC
Expand description

14 - TIMER0_CC

TIMER1
Expand description

15 - TIMER1

TIMER2
Expand description

16 - TIMER2

TIMER5_DAC
Expand description

17 - TIMER5_DAC

TIMER13
Expand description

19 - TIMER13

TIMER14
Expand description

20 - TIMER14

TIMER15
Expand description

21 - TIMER15

TIMER16
Expand description

22 - TIMER16

I2C0_EV
Expand description

23 - I2C0_EV

I2C1_EV
Expand description

24 - I2C1_EV

SPI0
Expand description

25 - SPI0

SPI1
Expand description

26 - SPI1

USART0
Expand description

27 - USART0

USART1
Expand description

28 - USART1

CEC
Expand description

30 - CEC

I2C0_ER
Expand description

32 - I2C0_ER

I2C1_ER
Expand description

34 - I2C1_ER

I2C2_EV
Expand description

35 - I2C2_EV

I2C2_ER
Expand description

36 - I2C2_ER

DMA_CHANNEL5_6
Expand description

48 - DMA_Channel5_6

SPI2
Expand description

51 - SPI2

Trait Implementations

impl Clone for Interrupt[src]

pub fn clone(&self) -> Interrupt[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Interrupt[src]

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

Formats the value using the given formatter. Read more

impl InterruptNumber for Interrupt[src]

pub fn number(self) -> u16[src]

Return the interrupt number associated with this variant. Read more

impl PartialEq<Interrupt> for Interrupt[src]

pub fn eq(&self, other: &Interrupt) -> bool[src]

This method tests for self and other values to be equal, and is used by ==. Read more

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl Copy for Interrupt[src]

impl Eq for Interrupt[src]

impl StructuralEq for Interrupt[src]

impl StructuralPartialEq for Interrupt[src]

Auto Trait Implementations

impl Send for Interrupt

impl Sync for Interrupt

impl Unpin for Interrupt

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

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

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

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

Performs the conversion.