k210_pac::plic::targets::threshold

Type Alias PRIORITY_R

Source
pub type PRIORITY_R = R<u8, PRIORITY_A>;
Expand description

Reader of field priority

Aliased Type§

struct PRIORITY_R { /* private fields */ }

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