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 StructuralEq for Cslockr
impl StructuralPartialEq for Cslockr
Auto Trait Implementations§
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