#[repr(transparent)]pub struct Sc2(pub u32);Expand description
Status Control.
Tuple Fields§
§0: u32Implementations§
Source§impl Sc2
impl Sc2
Sourcepub const fn busy(&self) -> bool
pub const fn busy(&self) -> bool
SPC Busy Status Flag. Raw bit values: false (0) = BusyNo: Not busy.; true (1) = BusyYes: Busy.
Sourcepub const fn set_busy(&mut self, val: bool)
pub const fn set_busy(&mut self, val: bool)
SPC Busy Status Flag. Raw bit values: false (0) = BusyNo: Not busy.; true (1) = BusyYes: Busy.
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 or Sleep 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 or Sleep 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 spc_lp_mode(&self) -> SpcLpMode2
pub const fn spc_lp_mode(&self) -> SpcLpMode2
Power Domain Low-Power Mode Request.
Sourcepub const fn set_spc_lp_mode(&mut self, val: SpcLpMode2)
pub const fn set_spc_lp_mode(&mut self, val: SpcLpMode2)
Power Domain Low-Power Mode Request.
Sourcepub const fn set_iso_clr(&mut self, val: u8)
pub const fn set_iso_clr(&mut self, val: u8)
Isolation Clear Flags.