Struct stm32_metapac::syscfg::regs::Cnslckr
#[repr(transparent)]pub struct Cnslckr(pub u32);
Expand description
SYSCFG 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
pub fn set_locknsvtor(&mut self, val: bool)
pub fn set_locknsvtor(&mut self, val: bool)
VTOR_NS register lock
pub fn set_locknsmpu(&mut self, val: bool)
pub fn set_locknsmpu(&mut self, val: bool)
Non-secure MPU registers lock
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
)