Enum xmc4200::Interrupt

source ·
#[repr(u16)]
pub enum Interrupt {
Show 66 variants SCU_0 = 0, ERU0_0 = 1, ERU0_1 = 2, ERU0_2 = 3, ERU0_3 = 4, ERU1_0 = 5, ERU1_1 = 6, ERU1_2 = 7, ERU1_3 = 8, PMU0_0 = 12, VADC0_C0_0 = 14, VADC0_C0_1 = 15, VADC0_C0_2 = 16, VADC0_C0_3 = 17, VADC0_G0_0 = 18, VADC0_G0_1 = 19, VADC0_G0_2 = 20, VADC0_G0_3 = 21, VADC0_G1_0 = 22, VADC0_G1_1 = 23, VADC0_G1_2 = 24, VADC0_G1_3 = 25, DAC0_0 = 42, DAC0_1 = 43, CCU40_0 = 44, CCU40_1 = 45, CCU40_2 = 46, CCU40_3 = 47, CCU41_0 = 48, CCU41_1 = 49, CCU41_2 = 50, CCU41_3 = 51, CCU80_0 = 60, CCU80_1 = 61, CCU80_2 = 62, CCU80_3 = 63, POSIF0_0 = 68, POSIF0_1 = 69, HRPWM_0 = 72, HRPWM_1 = 73, HRPWM_2 = 74, HRPWM_3 = 75, CAN0_0 = 76, CAN0_1 = 77, CAN0_2 = 78, CAN0_3 = 79, CAN0_4 = 80, CAN0_5 = 81, CAN0_6 = 82, CAN0_7 = 83, USIC0_0 = 84, USIC0_1 = 85, USIC0_2 = 86, USIC0_3 = 87, USIC0_4 = 88, USIC0_5 = 89, USIC1_0 = 90, USIC1_1 = 91, USIC1_2 = 92, USIC1_3 = 93, USIC1_4 = 94, USIC1_5 = 95, LEDTS0_0 = 102, FCE0_0 = 104, GPDMA0_0 = 105, USB0_0 = 107,
}
Expand description

Enumeration of all the interrupts.

Variants§

§

SCU_0 = 0

0 - System Control

§

ERU0_0 = 1

1 - External Request Unit 0

§

ERU0_1 = 2

2 - External Request Unit 0

§

ERU0_2 = 3

3 - External Request Unit 0

§

ERU0_3 = 4

4 - External Request Unit 0

§

ERU1_0 = 5

5 - External Request Unit 1

§

ERU1_1 = 6

6 - External Request Unit 1

§

ERU1_2 = 7

7 - External Request Unit 1

§

ERU1_3 = 8

8 - External Request Unit 1

§

PMU0_0 = 12

12 - Program Management Unit

§

VADC0_C0_0 = 14

14 - Analog to Digital Converter Common Block 0

§

VADC0_C0_1 = 15

15 - Analog to Digital Converter Common Block 0

§

VADC0_C0_2 = 16

16 - Analog to Digital Converter Common Block 0

§

VADC0_C0_3 = 17

17 - Analog to Digital Converter Common Block 0

§

VADC0_G0_0 = 18

18 - Analog to Digital Converter Group 0

§

VADC0_G0_1 = 19

19 - Analog to Digital Converter Group 0

§

VADC0_G0_2 = 20

20 - Analog to Digital Converter Group 0

§

VADC0_G0_3 = 21

21 - Analog to Digital Converter Group 0

§

VADC0_G1_0 = 22

22 - Analog to Digital Converter Group 1

§

VADC0_G1_1 = 23

23 - Analog to Digital Converter Group 1

§

VADC0_G1_2 = 24

24 - Analog to Digital Converter Group 1

§

VADC0_G1_3 = 25

25 - Analog to Digital Converter Group 1

§

DAC0_0 = 42

42 - Digital to Analog Converter

§

DAC0_1 = 43

43 - Digital to Analog Converter

§

CCU40_0 = 44

44 - Capture Compare Unit 4 (Module 0)

§

CCU40_1 = 45

45 - Capture Compare Unit 4 (Module 0)

§

CCU40_2 = 46

46 - Capture Compare Unit 4 (Module 0)

§

CCU40_3 = 47

47 - Capture Compare Unit 4 (Module 0)

§

CCU41_0 = 48

48 - Capture Compare Unit 4 (Module 1)

§

CCU41_1 = 49

49 - Capture Compare Unit 4 (Module 1)

§

CCU41_2 = 50

50 - Capture Compare Unit 4 (Module 1)

§

CCU41_3 = 51

51 - Capture Compare Unit 4 (Module 1)

§

CCU80_0 = 60

60 - Capture Compare Unit 8 (Module 0)

§

CCU80_1 = 61

61 - Capture Compare Unit 8 (Module 0)

§

CCU80_2 = 62

62 - Capture Compare Unit 8 (Module 0)

§

CCU80_3 = 63

63 - Capture Compare Unit 8 (Module 0)

§

POSIF0_0 = 68

68 - Position Interface (Module 0)

§

POSIF0_1 = 69

69 - Position Interface (Module 0)

§

HRPWM_0 = 72

72 - High Resolution Pulse Width Modulation (Module 0)

§

HRPWM_1 = 73

73 - High Resolution Pulse Width Modulation (Module 0)

§

HRPWM_2 = 74

74 - High Resolution Pulse Width Modulation (Module 0)

§

HRPWM_3 = 75

75 - High Resolution Pulse Width Modulation (Module 0)

§

CAN0_0 = 76

76 - MultiCAN

§

CAN0_1 = 77

77 - MultiCAN

§

CAN0_2 = 78

78 - MultiCAN

§

CAN0_3 = 79

79 - MultiCAN

§

CAN0_4 = 80

80 - MultiCAN

§

CAN0_5 = 81

81 - MultiCAN

§

CAN0_6 = 82

82 - MultiCAN

§

CAN0_7 = 83

83 - MultiCAN

§

USIC0_0 = 84

84 - Universal Serial Interface Channel (Module 0)

§

USIC0_1 = 85

85 - Universal Serial Interface Channel (Module 0)

§

USIC0_2 = 86

86 - Universal Serial Interface Channel (Module 0)

§

USIC0_3 = 87

87 - Universal Serial Interface Channel (Module 0)

§

USIC0_4 = 88

88 - Universal Serial Interface Channel (Module 0)

§

USIC0_5 = 89

89 - Universal Serial Interface Channel (Module 0)

§

USIC1_0 = 90

90 - Universal Serial Interface Channel (Module 1)

§

USIC1_1 = 91

91 - Universal Serial Interface Channel (Module 1)

§

USIC1_2 = 92

92 - Universal Serial Interface Channel (Module 1)

§

USIC1_3 = 93

93 - Universal Serial Interface Channel (Module 1)

§

USIC1_4 = 94

94 - Universal Serial Interface Channel (Module 1)

§

USIC1_5 = 95

95 - Universal Serial Interface Channel (Module 1)

§

LEDTS0_0 = 102

102 - LED and Touch Sense Control Unit (Module 0)

§

FCE0_0 = 104

104 - Flexible CRC Engine

§

GPDMA0_0 = 105

105 - General Purpose DMA Unit 0

§

USB0_0 = 107

107 - Universal Serial Bus (Module 0)

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 InterruptNumber for Interrupt

source§

fn number(self) -> u16

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

impl PartialEq for Interrupt

source§

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.
source§

impl Copy for Interrupt

source§

impl Eq for Interrupt

source§

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