Inp

Enum Inp 

Source
#[repr(u8)]
pub enum Inp {
Show 108 variants Val1 = 1, Val2 = 2, Val3 = 3, Val4 = 4, Val5 = 5, Val6 = 6, Val7 = 7, Val8 = 8, Val9 = 9, Val10 = 10, Val11 = 11, Val12 = 12, Val13 = 13, Val14 = 14, Val15 = 15, Val16 = 16, Val17 = 17, Val18 = 18, Val19 = 19, Val20 = 20, Val21 = 21, Val22 = 22, Val23 = 23, Val24 = 24, Val25 = 25, Val26 = 26, Val27 = 27, Val28 = 28, Val29 = 29, Val30 = 30, Val31 = 31, Val32 = 32, Val33 = 33, Val34 = 34, Val35 = 35, Val36 = 36, Val37 = 37, Val38 = 38, Val39 = 39, Val40 = 40, Val41 = 41, Val42 = 42, Val43 = 43, Val44 = 44, Val45 = 45, Val46 = 46, Val47 = 47, Val48 = 48, Val49 = 49, Val50 = 50, Val51 = 51, Val52 = 52, Val53 = 53, Val54 = 54, Val55 = 55, Val56 = 56, Val57 = 57, Val58 = 58, Val59 = 59, Val60 = 60, Val61 = 61, Val62 = 62, Val63 = 63, Val64 = 64, Val65 = 65, Val66 = 66, Val67 = 67, Val68 = 68, Val69 = 69, Val70 = 70, Val71 = 71, Val72 = 72, Val73 = 73, Val74 = 74, Val75 = 75, Val76 = 76, Val77 = 77, Val78 = 78, Val79 = 79, Val80 = 80, Val81 = 81, Val82 = 82, Val83 = 83, Val84 = 84, Val85 = 85, Val86 = 86, Val87 = 87, Val88 = 88, Val89 = 89, Val90 = 90, Val91 = 91, Val92 = 92, Val93 = 93, Val94 = 94, Val95 = 95, Val96 = 96, Val97 = 97, Val98 = 98, Val99 = 99, Val100 = 100, Val105 = 105, Val106 = 106, Val107 = 107, Val108 = 108, Val109 = 109, Val110 = 110, Val111 = 111, Val112 = 112,
}
Expand description

Input number for CTIMER2

Value on reset: 127

Variants§

§

Val1 = 1

1: CT_INP0 input is selected

§

Val2 = 2

2: CT_INP1 input is selected

§

Val3 = 3

3: CT_INP2 input is selected

§

Val4 = 4

4: CT_INP3 input is selected

§

Val5 = 5

5: CT_INP4 input is selected

§

Val6 = 6

6: CT_INP5 input is selected

§

Val7 = 7

7: CT_INP6 input is selected

§

Val8 = 8

8: CT_INP7 input is selected

§

Val9 = 9

9: CT_INP8 input is selected

§

Val10 = 10

10: CT_INP9 input is selected

§

Val11 = 11

11: CT_INP10 input is selected

§

Val12 = 12

12: CT_INP11 input is selected

§

Val13 = 13

13: CT_INP12 input is selected

§

Val14 = 14

14: CT_INP13 input is selected

§

Val15 = 15

15: CT_INP14 input is selected

§

Val16 = 16

16: CT_INP15 input is selected

§

Val17 = 17

17: CT_INP16 input is selected

§

Val18 = 18

18: CT_INP17 input is selected

§

Val19 = 19

19: CT_INP18 input is selected

§

Val20 = 20

20: CT_INP19 input is selected

§

Val21 = 21

21: USB0 usb0 start of frame input is selected

§

Val22 = 22

22: AOI0_OUT0 input is selected

§

Val23 = 23

23: AOI0_OUT1 input is selected

§

Val24 = 24

24: AOI0_OUT2 input is selected

§

Val25 = 25

25: AOI0_OUT3 input is selected

§

Val26 = 26

26: ADC0_tcomp[0]

§

Val27 = 27

27: ADC0_tcomp[1]

§

Val28 = 28

28: ADC0_tcomp[2]

§

Val29 = 29

29: ADC0_tcomp[3] input is selected

§

Val30 = 30

30: CMP0_OUT is selected

§

Val31 = 31

31: CMP1_OUT is selected

§

Val32 = 32

32: CMP2_OUT is selected

§

Val33 = 33

33: CTimer0_MAT1 input is selected

§

Val34 = 34

34: CTimer0_MAT2 input is selected

§

Val35 = 35

35: CTimer0_MAT3 input is selected

§

Val36 = 36

36: CTimer1_MAT1 input is selected

§

Val37 = 37

37: CTimer1_MAT2 input is selected

§

Val38 = 38

38: CTimer1_MAT3 input is selected

§

Val39 = 39

39: QDC0_CMP_FLAG0 is selected

§

Val40 = 40

40: QDC0_CMP_FLAG1 input is selected

§

Val41 = 41

41: QDC0_CMP_FLAG2 input is selected

§

Val42 = 42

42: QDC0_CMP_FLAG3 input is selected

§

Val43 = 43

43: QDC0_POS_MATCH0 input is selected

§

Val44 = 44

44: PWM0_SM0_MUX_TRIG0 input is selected

§

Val45 = 45

45: PWM0_SM1_MUX_TRIG0 input is selected

§

Val46 = 46

46: PWM0_SM2_MUX_TRIG0 input is selected

§

Val47 = 47

47: PWM0_SM3_MUX_TRIG0 input is selected

§

Val48 = 48

48: LPI2C0 Master End of Packet input is selected

§

Val49 = 49

49: LPI2C0 Slave End of Packet input is selected

§

Val50 = 50

50: LPI2C1 Master End of Packet input is selected

§

Val51 = 51

51: LPI2C1 Slave End of Packet input is selected

§

Val52 = 52

52: LPSPI0 End of Frame input is selected

§

Val53 = 53

53: LPSPI0 Received Data Word input is selected

§

Val54 = 54

54: LPSPI1 End of Frame input is selected

§

Val55 = 55

55: LPSPI1 Received Data Word input is selected

§

Val56 = 56

56: LPUART0 Received Data Word input is selected

§

Val57 = 57

57: LPUART0 Transmitted Data Word input is selected

§

Val58 = 58

58: LPUART0 Receive Line Idle input is selected

§

Val59 = 59

59: LPUART1 Received Data Word input is selected

§

Val60 = 60

60: LPUART1 Transmitted Data Word input is selected

§

Val61 = 61

61: LPUART1 Receive Line Idle input is selected

§

Val62 = 62

62: LPUART2 Received Data Word input is selected

§

Val63 = 63

63: LPUART2 Transmitted Data Word input is selected

§

Val64 = 64

64: LPUART2 Receive Line Idle input is selected

§

Val65 = 65

65: LPUART3 Received Data Word input is selected

§

Val66 = 66

66: LPUART3 Transmitted Data Word input is selected

§

Val67 = 67

67: LPUART3 Receive Line Idle input is selected

§

Val68 = 68

68: LPUART4 Received Data Word input is selected

§

Val69 = 69

69: LPUART4 Transmitted Data Word input is selected

§

Val70 = 70

70: LPUART4 Receive Line Idle input is selected

§

Val71 = 71

71: AOI1_OUT0 input is selected

§

Val72 = 72

72: AOI1_OUT1 input is selected

§

Val73 = 73

73: AOI1_OUT2 input is selected

§

Val74 = 74

74: AOI1_OUT3 input is selected

§

Val75 = 75

75: ADC1_tcomp[0] input is selected

§

Val76 = 76

76: ADC1_tcomp[1] input is selected

§

Val77 = 77

77: ADC1_tcomp[2] input is selected

§

Val78 = 78

78: ADC1_tcomp[3] input is selected

§

Val79 = 79

79: CTimer3_MAT1 input is selected

§

Val80 = 80

80: CTimer3_MAT2 input is selected

§

Val81 = 81

81: CTimer3_MAT3 input is selected

§

Val82 = 82

82: CTimer4_MAT1 input is selected

§

Val83 = 83

83: CTimer4_MAT2 input is selected

§

Val84 = 84

84: CTimer4_MAT3 input is selected

§

Val85 = 85

85: QDC1_CMP_FLAG0 input is selected

§

Val86 = 86

86: QDC1_CMP_FLAG1 input is selected

§

Val87 = 87

87: QDC1_CMP_FLAG2 input is selected

§

Val88 = 88

88: QDC1_CMP_FLAG3 input is selected

§

Val89 = 89

89: QDC1_POS_MATCH0 input is selected

§

Val90 = 90

90: PWM1_SM0_MUX_TRIG0 input is selected

§

Val91 = 91

91: PWM1_SM1_MUX_TRIG0 input is selected

§

Val92 = 92

92: PWM1_SM2_MUX_TRIG0 input is selected

§

Val93 = 93

93: PWM1_SM2_MUX_TRIG0 input is selected

§

Val94 = 94

94: LPI2C2 Master End of Packet input is selected

§

Val95 = 95

95: LPI2C2 Slave End of Packet input is selected

§

Val96 = 96

96: LPI2C3 Master End of Packet input is selected

§

Val97 = 97

97: LPI2C3 Slave End of Packet input is selected

§

Val98 = 98

98: LPUART5 Received Data Word input is selected

§

Val99 = 99

99: LPUART5 Transmitted Data Word input is selected

§

Val100 = 100

100: LPUART5 Receive Line Idle input is selected

§

Val105 = 105

105: ADC2_tcomp[0] input is selected

§

Val106 = 106

106: ADC2_tcomp[1] input is selected

§

Val107 = 107

107: ADC2_tcomp[2] input is selected

§

Val108 = 108

108: ADC2_tcomp[3] input is selected

§

Val109 = 109

109: ADC3_tcomp[0] input is selected

§

Val110 = 110

110: ADC3_tcomp[1] input is selected

§

Val111 = 111

111: ADC3_tcomp[2] input is selected

§

Val112 = 112

112: ADC3_tcomp[3] input is selected

Trait Implementations§

Source§

impl Clone for Inp

Source§

fn clone(&self) -> Inp

Returns a duplicate 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 Inp

Source§

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

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

impl FieldSpec for Inp

Source§

type Ux = u8

Raw field type (u8, u16, u32, …).
Source§

impl From<Inp> for u8

Source§

fn from(variant: Inp) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for Inp

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

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

impl Copy for Inp

Source§

impl Eq for Inp

Source§

impl IsEnum for Inp

Source§

impl StructuralPartialEq for Inp

Auto Trait Implementations§

§

impl Freeze for Inp

§

impl RefUnwindSafe for Inp

§

impl Send for Inp

§

impl Sync for Inp

§

impl Unpin for Inp

§

impl UnwindSafe for Inp

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, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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.