Struct stm32_metapac::syscfg::regs::Cslckr
#[repr(transparent)]pub struct Cslckr(pub u32);
Expand description
SBS CPU secure lock register
Tuple Fields§
§0: u32
Implementations§
§impl Cslckr
impl Cslckr
pub const fn locksvtaircr(&self) -> bool
pub const fn locksvtaircr(&self) -> bool
VTOR_S and AIRCR register lock This bit is set by software and cleared only by a system reset. When set, this bit disables write access to VTOR_S register, PRIS and BFHFNMINS bits in the AIRCR register.
pub fn set_locksvtaircr(&mut self, val: bool)
pub fn set_locksvtaircr(&mut self, val: bool)
VTOR_S and AIRCR register lock This bit is set by software and cleared only by a system reset. When set, this bit disables write access to VTOR_S register, PRIS and BFHFNMINS bits in the AIRCR register.
pub const fn locksmpu(&self) -> bool
pub const fn locksmpu(&self) -> bool
secure MPU registers lock This bit is set by software and cleared only by a system reset. When set, this bit disables write access to secure MPU_CTRL, MPU_RNR and MPU_RBAR registers.
pub fn set_locksmpu(&mut self, val: bool)
pub fn set_locksmpu(&mut self, val: bool)
secure MPU registers lock This bit is set by software and cleared only by a system reset. When set, this bit disables write access to secure MPU_CTRL, MPU_RNR and MPU_RBAR registers.
pub const fn locksau(&self) -> bool
pub const fn locksau(&self) -> bool
SAU registers lock This bit is set by software and cleared only by a system reset. When set, this bit disables write access to SAU_CTRL, SAU_RNR, SAU_RBAR and SAU_RLAR registers.
pub fn set_locksau(&mut self, val: bool)
pub fn set_locksau(&mut self, val: bool)
SAU registers lock This bit is set by software and cleared only by a system reset. When set, this bit disables write access to SAU_CTRL, SAU_RNR, SAU_RBAR and SAU_RLAR registers.
Trait Implementations§
impl Copy for Cslckr
impl Eq for Cslckr
impl StructuralPartialEq for Cslckr
Auto Trait Implementations§
impl Freeze for Cslckr
impl RefUnwindSafe for Cslckr
impl Send for Cslckr
impl Sync for Cslckr
impl Unpin for Cslckr
impl UnwindSafe for Cslckr
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
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)
clone_to_uninit
)