[][src]Enum e310x_hal::core::plic::Priority

pub enum Priority {
    P0,
    P1,
    P2,
    P3,
    P4,
    P5,
    P6,
    P7,
}

Priority of a plic::Interrupt.

Variants

P0

Priority 0: Never interrupt

P1

Priority 1: Lowest active priority

P2

Priority 2

P3

Priority 3

P4

Priority 4

P5

Priority 5

P6

Priority 6

P7

Priority 7: Highest priority

Trait Implementations

impl Clone for Priority[src]

impl Copy for Priority[src]

impl Into<u32> for Priority[src]

fn into(self) -> u32[src]

Returns the numeric priority for writing to a interrupt priority or the plic threshold register.

Auto Trait Implementations

impl Send for Priority

impl Sync for Priority

impl Unpin for Priority

Blanket Implementations

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

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

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

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

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

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.

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.