Struct Cpulock
#[repr(transparent)]pub struct Cpulock(pub u32);Expand description
Configure bits to lock down CPU features at runtime
Tuple Fields§
§0: u32Implementations§
§impl Cpulock
impl Cpulock
pub const fn locksvtaircr(&self) -> bool
pub const fn locksvtaircr(&self) -> bool
Write ‘1’ to prevent updating the secure interrupt configuration until the next reset
pub const fn set_locksvtaircr(&mut self, val: bool)
pub const fn set_locksvtaircr(&mut self, val: bool)
Write ‘1’ to prevent updating the secure interrupt configuration until the next reset
pub const fn locknsvtor(&self) -> bool
pub const fn locknsvtor(&self) -> bool
Write ‘1’ to prevent updating the non-secure vector table base address until the next reset
pub const fn set_locknsvtor(&mut self, val: bool)
pub const fn set_locknsvtor(&mut self, val: bool)
Write ‘1’ to prevent updating the non-secure vector table base address until the next reset
pub const fn locksmpu(&self) -> bool
pub const fn locksmpu(&self) -> bool
Write ‘1’ to prevent updating the secure MPU regions until the next reset
pub const fn set_locksmpu(&mut self, val: bool)
pub const fn set_locksmpu(&mut self, val: bool)
Write ‘1’ to prevent updating the secure MPU regions until the next reset
pub const fn locknsmpu(&self) -> bool
pub const fn locknsmpu(&self) -> bool
Write ‘1’ to prevent updating the Non-secure MPU regions until the next reset
pub const fn set_locknsmpu(&mut self, val: bool)
pub const fn set_locknsmpu(&mut self, val: bool)
Write ‘1’ to prevent updating the Non-secure MPU regions until the next reset
pub const fn locksau(&self) -> bool
pub const fn locksau(&self) -> bool
Write ‘1’ to prevent updating the secure SAU regions until the next reset
pub const fn set_locksau(&mut self, val: bool)
pub const fn set_locksau(&mut self, val: bool)
Write ‘1’ to prevent updating the secure SAU regions until the next reset