#[repr(transparent)]pub struct Cfg(pub u32);Expand description
SPC Configuration.
Tuple Fields§
§0: u32Implementations§
Source§impl Cfg
impl Cfg
Sourcepub const fn intg_pwswtch_sleep_en(&self) -> bool
pub const fn intg_pwswtch_sleep_en(&self) -> bool
Integrated Power Switch Sleep Enable.
Sourcepub const fn set_intg_pwswtch_sleep_en(&mut self, val: bool)
pub const fn set_intg_pwswtch_sleep_en(&mut self, val: bool)
Integrated Power Switch Sleep Enable.
Sourcepub const fn intg_pwswtch_wkup_en(&self) -> bool
pub const fn intg_pwswtch_wkup_en(&self) -> bool
Integrated Power Switch Wake-up Enable.
Sourcepub const fn set_intg_pwswtch_wkup_en(&mut self, val: bool)
pub const fn set_intg_pwswtch_wkup_en(&mut self, val: bool)
Integrated Power Switch Wake-up Enable.
Sourcepub const fn intg_pwswtch_sleep_active_en(&self) -> bool
pub const fn intg_pwswtch_sleep_active_en(&self) -> bool
Integrated Power Switch Active Enable.
Sourcepub const fn set_intg_pwswtch_sleep_active_en(&mut self, val: bool)
pub const fn set_intg_pwswtch_sleep_active_en(&mut self, val: bool)
Integrated Power Switch Active Enable.
Sourcepub const fn intg_pwswtch_wkup_active_en(&self) -> bool
pub const fn intg_pwswtch_wkup_active_en(&self) -> bool
Integrated Power Switch Wake-up Enable.
Sourcepub const fn set_intg_pwswtch_wkup_active_en(&mut self, val: bool)
pub const fn set_intg_pwswtch_wkup_active_en(&mut self, val: bool)
Integrated Power Switch Wake-up Enable.
Trait Implementations§
impl Copy for Cfg
impl Eq for Cfg
impl StructuralPartialEq for Cfg
Auto Trait Implementations§
impl Freeze for Cfg
impl RefUnwindSafe for Cfg
impl Send for Cfg
impl Sync for Cfg
impl Unpin for Cfg
impl UnwindSafe for Cfg
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