#[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 spc_lp_mode(&self) -> SpcLpMode
pub const fn spc_lp_mode(&self) -> SpcLpMode
Power Domain Low-Power Mode Request.
Sourcepub const fn set_spc_lp_mode(&mut self, val: SpcLpMode)
pub const fn set_spc_lp_mode(&mut self, val: SpcLpMode)
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.
Trait Implementations§
impl Copy for Sc
impl Eq for Sc
impl StructuralPartialEq for Sc
Auto Trait Implementations§
impl Freeze for Sc
impl RefUnwindSafe for Sc
impl Send for Sc
impl Sync for Sc
impl Unpin for Sc
impl UnwindSafe for Sc
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more