#[repr(transparent)]pub struct Sc(pub u32);Expand description
Status Control.
Tuple Fields§
§0: u32Implementations§
Source§impl Sc
impl Sc
Sourcepub const fn spc_lp_req(&self) -> bool
pub const fn spc_lp_req(&self) -> bool
SPC Power Mode Configuration Status Flag. Raw bit values: false (0) = Active: SPC is in Active mode; the ACTIVE_CFG register has control.; true (1) = LowPower: All power domains requested low-power mode; SPC entered a low-power state; power-mode configuration based on the LP_CFG register.
Sourcepub const fn set_spc_lp_req(&mut self, val: bool)
pub const fn set_spc_lp_req(&mut self, val: bool)
SPC Power Mode Configuration Status Flag. Raw bit values: false (0) = Active: SPC is in Active mode; the ACTIVE_CFG register has control.; true (1) = LowPower: All power domains requested low-power mode; SPC entered a low-power state; power-mode configuration based on the LP_CFG register.
Sourcepub const fn hp_active(&self) -> bool
pub const fn hp_active(&self) -> bool
HP_CFG Select Status Flag. Raw bit values: false (0) = HpActiveNo: ACTIVE_CFG selected.; true (1) = HpActiveYes: HP_CFG selected.
Sourcepub const fn set_hp_active(&mut self, val: bool)
pub const fn set_hp_active(&mut self, val: bool)
HP_CFG Select Status Flag. Raw bit values: false (0) = HpActiveNo: ACTIVE_CFG selected.; true (1) = HpActiveYes: HP_CFG selected.
Sourcepub const fn spc_lp_mode(&self) -> LpMode
pub const fn spc_lp_mode(&self) -> LpMode
Power Domain Low-Power Mode Request.
Sourcepub const fn set_spc_lp_mode(&mut self, val: LpMode)
pub const fn set_spc_lp_mode(&mut self, val: LpMode)
Power Domain Low-Power Mode Request.
Sourcepub const fn set_iso_clr(&mut self, val: bool)
pub const fn set_iso_clr(&mut self, val: bool)
Isolation Clear Flags.