Struct stm32_metapac::syscfg::regs::Cslockr
#[repr(transparent)]pub struct Cslockr(pub u32);
Expand description
CPU secure lock register
Tuple Fields§
§0: u32
Implementations§
§impl Cslockr
impl Cslockr
pub const fn locksvtaircr(&self) -> bool
pub const fn locksvtaircr(&self) -> bool
VTOR_S register and AIRCR register bits lock This bit is set by software and cleared only by a system reset. When set, it 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 register and AIRCR register bits lock This bit is set by software and cleared only by a system reset. When set, it 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, it 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, it 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, it 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, it disables write access to SAU_CTRL, SAU_RNR, SAU_RBAR and SAU_RLAR registers.