k210_pac

Enum Interrupt

Source
#[repr(u8)]
pub enum Interrupt {
Show 65 variants SPI0 = 1, SPI1 = 2, SPI_SLAVE = 3, SPI3 = 4, I2S0 = 5, I2S1 = 6, I2S2 = 7, I2C0 = 8, I2C1 = 9, I2C2 = 10, UART1 = 11, UART2 = 12, UART3 = 13, TIMER0A = 14, TIMER0B = 15, TIMER1A = 16, TIMER1B = 17, TIMER2A = 18, TIMER2B = 19, RTC = 20, WDT0 = 21, WDT1 = 22, APB_GPIO = 23, DVP = 24, KPU = 25, FFT = 26, DMA0 = 27, DMA1 = 28, DMA2 = 29, DMA3 = 30, DMA4 = 31, DMA5 = 32, UARTHS = 33, GPIOHS0 = 34, GPIOHS1 = 35, GPIOHS2 = 36, GPIOHS3 = 37, GPIOHS4 = 38, GPIOHS5 = 39, GPIOHS6 = 40, GPIOHS7 = 41, GPIOHS8 = 42, GPIOHS9 = 43, GPIOHS10 = 44, GPIOHS11 = 45, GPIOHS12 = 46, GPIOHS13 = 47, GPIOHS14 = 48, GPIOHS15 = 49, GPIOHS16 = 50, GPIOHS17 = 51, GPIOHS18 = 52, GPIOHS19 = 53, GPIOHS20 = 54, GPIOHS21 = 55, GPIOHS22 = 56, GPIOHS23 = 57, GPIOHS24 = 58, GPIOHS25 = 59, GPIOHS26 = 60, GPIOHS27 = 61, GPIOHS28 = 62, GPIOHS29 = 63, GPIOHS30 = 64, GPIOHS31 = 65,
}
Expand description

Enumeration of all the interrupts

Variants§

§

SPI0 = 1

1 - SPI0

§

SPI1 = 2

2 - SPI1

§

SPI_SLAVE = 3

3 - SPI_SLAVE

§

SPI3 = 4

4 - SPI3

§

I2S0 = 5

5 - I2S0

§

I2S1 = 6

6 - I2S1

§

I2S2 = 7

7 - I2S2

§

I2C0 = 8

8 - I2C0

§

I2C1 = 9

9 - I2C1

§

I2C2 = 10

10 - I2C2

§

UART1 = 11

11 - UART1

§

UART2 = 12

12 - UART2

§

UART3 = 13

13 - UART3

§

TIMER0A = 14

14 - TIMER0 channel 0 or 1 interrupt

§

TIMER0B = 15

15 - TIMER0 channel 2 or 3 interrupt

§

TIMER1A = 16

16 - TIMER1 channel 0 or 1 interrupt

§

TIMER1B = 17

17 - TIMER1 channel 2 or 3 interrupt

§

TIMER2A = 18

18 - TIMER2 channel 0 or 1 interrupt

§

TIMER2B = 19

19 - TIMER2 channel 2 or 3 interrupt

§

RTC = 20

20 - RTC

§

WDT0 = 21

21 - WDT0

§

WDT1 = 22

22 - WDT1

§

APB_GPIO = 23

23 - APB_GPIO

§

DVP = 24

24 - DVP

§

KPU = 25

25 - KPU

§

FFT = 26

26 - FFT

§

DMA0 = 27

27 - DMA0

§

DMA1 = 28

28 - DMA1

§

DMA2 = 29

29 - DMA2

§

DMA3 = 30

30 - DMA3

§

DMA4 = 31

31 - DMA4

§

DMA5 = 32

32 - DMA5

§

UARTHS = 33

33 - UARTHS

§

GPIOHS0 = 34

34 - GPIOHS0

§

GPIOHS1 = 35

35 - GPIOHS1

§

GPIOHS2 = 36

36 - GPIOHS2

§

GPIOHS3 = 37

37 - GPIOHS3

§

GPIOHS4 = 38

38 - GPIOHS4

§

GPIOHS5 = 39

39 - GPIOHS5

§

GPIOHS6 = 40

40 - GPIOHS6

§

GPIOHS7 = 41

41 - GPIOHS7

§

GPIOHS8 = 42

42 - GPIOHS8

§

GPIOHS9 = 43

43 - GPIOHS9

§

GPIOHS10 = 44

44 - GPIOHS10

§

GPIOHS11 = 45

45 - GPIOHS11

§

GPIOHS12 = 46

46 - GPIOHS12

§

GPIOHS13 = 47

47 - GPIOHS13

§

GPIOHS14 = 48

48 - GPIOHS14

§

GPIOHS15 = 49

49 - GPIOHS15

§

GPIOHS16 = 50

50 - GPIOHS16

§

GPIOHS17 = 51

51 - GPIOHS17

§

GPIOHS18 = 52

52 - GPIOHS18

§

GPIOHS19 = 53

53 - GPIOHS19

§

GPIOHS20 = 54

54 - GPIOHS20

§

GPIOHS21 = 55

55 - GPIOHS21

§

GPIOHS22 = 56

56 - GPIOHS22

§

GPIOHS23 = 57

57 - GPIOHS23

§

GPIOHS24 = 58

58 - GPIOHS24

§

GPIOHS25 = 59

59 - GPIOHS25

§

GPIOHS26 = 60

60 - GPIOHS26

§

GPIOHS27 = 61

61 - GPIOHS27

§

GPIOHS28 = 62

62 - GPIOHS28

§

GPIOHS29 = 63

63 - GPIOHS29

§

GPIOHS30 = 64

64 - GPIOHS30

§

GPIOHS31 = 65

65 - GPIOHS31

Implementations§

Source§

impl Interrupt

Source

pub fn try_from(value: u8) -> Result<Self, TryFromInterruptError>

Trait Implementations§

Source§

impl Clone for Interrupt

Source§

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
Source§

impl Debug for Interrupt

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Nr for Interrupt

Source§

fn nr(&self) -> u8

Returns the number associated with an interrupt
Source§

impl Copy 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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

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>,

Source§

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>,

Source§

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.