Struct stm32_metapac::syscfg::regs::Seccfgr
#[repr(transparent)]pub struct Seccfgr(pub u32);
Expand description
SBS security mode configuration control register
Tuple Fields§
§0: u32
Implementations§
§impl Seccfgr
impl Seccfgr
pub const fn sbssec(&self) -> Sec
pub const fn sbssec(&self) -> Sec
SBS clock control, memory-erase status register and compensation cell register security enable
pub fn set_sbssec(&mut self, val: Sec)
pub fn set_sbssec(&mut self, val: Sec)
SBS clock control, memory-erase status register and compensation cell register security enable
pub fn set_classbsec(&mut self, val: Sec)
pub fn set_classbsec(&mut self, val: Sec)
ClassB security enable
pub const fn fpusec(&self) -> Sec
pub const fn fpusec(&self) -> Sec
FPU security enable Note: This bit can only be written through privilege transaction.
pub fn set_fpusec(&mut self, val: Sec)
pub fn set_fpusec(&mut self, val: Sec)
FPU security enable Note: This bit can only be written through privilege transaction.
pub const fn sdce_sec_en(&self) -> bool
pub const fn sdce_sec_en(&self) -> bool
control accessibility of SMPS_DIV_CLOCK _EN in SBS_PMCR
pub fn set_sdce_sec_en(&mut self, val: bool)
pub fn set_sdce_sec_en(&mut self, val: bool)
control accessibility of SMPS_DIV_CLOCK _EN in SBS_PMCR
Trait Implementations§
impl Copy for Seccfgr
impl Eq for Seccfgr
impl StructuralPartialEq for Seccfgr
Auto Trait Implementations§
impl Freeze for Seccfgr
impl RefUnwindSafe for Seccfgr
impl Send for Seccfgr
impl Sync for Seccfgr
impl Unpin for Seccfgr
impl UnwindSafe for Seccfgr
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)