# PRIORITY_R in k210_pac::plic::targets::threshold - Rust
Reader of field `priority`
Keywords: rust, rustlang, rust-lang, PRIORITY_R

# Type Definition k210_pac::plic::targets::threshold::PRIORITY_R

source · [−]

    pub type PRIORITY_R = R<u8, PRIORITY_A>;

Expand description

Reader of field `priority`

## Implementations

source

### impl PRIORITY_R

source

#### pub fn variant(&self) -> PRIORITY_A

Get enumerated values variant

source

#### pub fn is_never(&self) -> bool

Checks if the value of the field is `NEVER`

source

#### pub fn is_p1(&self) -> bool

Checks if the value of the field is `P1`

source

#### pub fn is_p2(&self) -> bool

Checks if the value of the field is `P2`

source

#### pub fn is_p3(&self) -> bool

Checks if the value of the field is `P3`

source

#### pub fn is_p4(&self) -> bool

Checks if the value of the field is `P4`

source

#### pub fn is_p5(&self) -> bool

Checks if the value of the field is `P5`

source

#### pub fn is_p6(&self) -> bool

Checks if the value of the field is `P6`

source

#### pub fn is_p7(&self) -> bool

Checks if the value of the field is `P7`