Type Alias d1_pac::plic::ctrl::CTRL_R

source ·
pub type CTRL_R = BitReader<CTRL_A>;
Expand description

Field ctrl reader - PLIC Control

Aliased Type§

struct CTRL_R { /* private fields */ }

Implementations§

source§

impl CTRL_R

source

pub fn variant(&self) -> CTRL_A

Get enumerated values variant

source

pub fn is_m(&self) -> bool

Checks if the value of the field is M

source

pub fn is_ms(&self) -> bool

Checks if the value of the field is MS