Struct stm32_metapac::syscfg::regs::Cslockr
#[repr(transparent)]pub struct Cslockr(pub u32);
Expand description
SYSCFG 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
LOCKSVTAIRCR
pub fn set_locksvtaircr(&mut self, val: bool)
pub fn set_locksvtaircr(&mut self, val: bool)
LOCKSVTAIRCR
pub fn set_locksmpu(&mut self, val: bool)
pub fn set_locksmpu(&mut self, val: bool)
LOCKSMPU
pub fn set_locksau(&mut self, val: bool)
pub fn set_locksau(&mut self, val: bool)
LOCKSAU
Trait Implementations§
impl Copy for Cslockr
impl Eq for Cslockr
impl StructuralPartialEq for Cslockr
Auto Trait Implementations§
impl Freeze for Cslockr
impl RefUnwindSafe for Cslockr
impl Send for Cslockr
impl Sync for Cslockr
impl Unpin for Cslockr
impl UnwindSafe for Cslockr
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
)