[][src]Enum e310x::plic::threshold::PRIORITYR

pub enum PRIORITYR {
    NEVER,
    P1,
    P2,
    P3,
    P4,
    P5,
    P6,
    P7,
}

Possible values of the field priority

Variants

NEVER

Never interrupt

P1

Priority 1

P2

Priority 2

P3

Priority 3

P4

Priority 4

P5

Priority 5

P6

Priority 6

P7

Priority 7

Methods

impl PRIORITYR[src]

pub fn bits(&self) -> u8[src]

Value of the field as raw bits

pub fn is_never(&self) -> bool[src]

Checks if the value of the field is NEVER

pub fn is_p1(&self) -> bool[src]

Checks if the value of the field is P1

pub fn is_p2(&self) -> bool[src]

Checks if the value of the field is P2

pub fn is_p3(&self) -> bool[src]

Checks if the value of the field is P3

pub fn is_p4(&self) -> bool[src]

Checks if the value of the field is P4

pub fn is_p5(&self) -> bool[src]

Checks if the value of the field is P5

pub fn is_p6(&self) -> bool[src]

Checks if the value of the field is P6

pub fn is_p7(&self) -> bool[src]

Checks if the value of the field is P7

Trait Implementations

impl Debug for PRIORITYR[src]

impl PartialEq<PRIORITYR> for PRIORITYR[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl Copy for PRIORITYR[src]

impl Clone for PRIORITYR[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Unpin for PRIORITYR

impl Sync for PRIORITYR

impl Send for PRIORITYR

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

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

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.

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

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

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