Type Alias d1_pac::riscv_cfg::work_mode::WM_STA_R

source ·
pub type WM_STA_R = FieldReader<u8, WM_STA_A>;
Expand description

Field wm_sta reader - Work Mode Status

Aliased Type§

struct WM_STA_R { /* private fields */ }

Implementations§

source§

impl WM_STA_R

source

pub fn variant(&self) -> Option<WM_STA_A>

Get enumerated values variant

source

pub fn is_normal(&self) -> bool

Checks if the value of the field is NORMAL

source

pub fn is_low_power(&self) -> bool

Checks if the value of the field is LOW_POWER

source

pub fn is_debug(&self) -> bool

Checks if the value of the field is DEBUG