Enum d1_pac::plic::sth::PRIORITY_A

source ·
#[repr(u8)]
pub enum PRIORITY_A {
Show 32 variants P0 = 0, P1 = 1, P2 = 2, P3 = 3, P4 = 4, P5 = 5, P6 = 6, P7 = 7, P8 = 8, P9 = 9, P10 = 10, P11 = 11, P12 = 12, P13 = 13, P14 = 14, P15 = 15, P16 = 16, P17 = 17, P18 = 18, P19 = 19, P20 = 20, P21 = 21, P22 = 22, P23 = 23, P24 = 24, P25 = 25, P26 = 26, P27 = 27, P28 = 28, P29 = 29, P30 = 30, P31 = 31,
}
Expand description

Value on reset: 0

Variants§

§

P0 = 0

0: Priority 0 (never interrupt)

§

P1 = 1

1: Priority 1

§

P2 = 2

2: Priority 2

§

P3 = 3

3: Priority 3

§

P4 = 4

4: Priority 4

§

P5 = 5

5: Priority 5

§

P6 = 6

6: Priority 6

§

P7 = 7

7: Priority 7

§

P8 = 8

8: Priority 8

§

P9 = 9

9: Priority 9

§

P10 = 10

10: Priority 10

§

P11 = 11

11: Priority 11

§

P12 = 12

12: Priority 12

§

P13 = 13

13: Priority 13

§

P14 = 14

14: Priority 14

§

P15 = 15

15: Priority 15

§

P16 = 16

16: Priority 16

§

P17 = 17

17: Priority 17

§

P18 = 18

18: Priority 18

§

P19 = 19

19: Priority 19

§

P20 = 20

20: Priority 20

§

P21 = 21

21: Priority 21

§

P22 = 22

22: Priority 22

§

P23 = 23

23: Priority 23

§

P24 = 24

24: Priority 24

§

P25 = 25

25: Priority 25

§

P26 = 26

26: Priority 26

§

P27 = 27

27: Priority 27

§

P28 = 28

28: Priority 28

§

P29 = 29

29: Priority 29

§

P30 = 30

30: Priority 30

§

P31 = 31

31: Priority 31

Trait Implementations§

source§

impl Clone for PRIORITY_A

source§

fn clone(&self) -> PRIORITY_A

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 PRIORITY_A

source§

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

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

impl From<PRIORITY_A> for u8

source§

fn from(variant: PRIORITY_A) -> Self

Converts to this type from the input type.
source§

impl PartialEq for PRIORITY_A

source§

fn eq(&self, other: &PRIORITY_A) -> 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 PRIORITY_A

source§

impl Eq for PRIORITY_A

source§

impl StructuralPartialEq for PRIORITY_A

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§

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

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

impl<T> CloneToUninit for T
where T: Copy,

source§

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

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

§

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.