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.