Struct stm32_metapac::syscfg::regs::Cnslckr
#[repr(transparent)]pub struct Cnslckr(pub u32);
Expand description
SBS CPU non-secure lock register
Tuple Fields§
§0: u32
Implementations§
§impl Cnslckr
impl Cnslckr
pub const fn locknsvtor(&self) -> bool
pub const fn locknsvtor(&self) -> bool
VTOR_NS register lock This bit is set by software and cleared only by a system reset.
pub fn set_locknsvtor(&mut self, val: bool)
pub fn set_locknsvtor(&mut self, val: bool)
VTOR_NS register lock This bit is set by software and cleared only by a system reset.
pub const fn locknsmpu(&self) -> bool
pub const fn locknsmpu(&self) -> bool
non-secure MPU register lock This bit is set by software and cleared only by a system reset. When set, this bit disables write access to non-secure MPU_CTRL_NS, MPU_RNR_NS and MPU_RBAR_NS registers.
pub fn set_locknsmpu(&mut self, val: bool)
pub fn set_locknsmpu(&mut self, val: bool)
non-secure MPU register lock This bit is set by software and cleared only by a system reset. When set, this bit disables write access to non-secure MPU_CTRL_NS, MPU_RNR_NS and MPU_RBAR_NS registers.
Trait Implementations§
impl Copy for Cnslckr
impl Eq for Cnslckr
impl StructuralPartialEq for Cnslckr
Auto Trait Implementations§
impl Freeze for Cnslckr
impl RefUnwindSafe for Cnslckr
impl Send for Cnslckr
impl Sync for Cnslckr
impl Unpin for Cnslckr
impl UnwindSafe for Cnslckr
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
)