Struct stm32_metapac::tamp::regs::Privcfgr
#[repr(transparent)]pub struct Privcfgr(pub u32);
Expand description
TAMP privilege mode control register.
Tuple Fields§
§0: u32
Implementations§
§impl Privcfgr
impl Privcfgr
pub fn set_cnt1priv(&mut self, val: bool)
pub fn set_cnt1priv(&mut self, val: bool)
Monotonic counter 1 privilege protection.
pub fn set_bkprwpriv(&mut self, val: bool)
pub fn set_bkprwpriv(&mut self, val: bool)
Backup registers zone 1 privilege protection.
pub fn set_bkpwpriv(&mut self, val: bool)
pub fn set_bkpwpriv(&mut self, val: bool)
Backup registers zone 2 privilege protection.
pub const fn tamppriv(&self) -> bool
pub const fn tamppriv(&self) -> bool
Tamper privilege protection (excluding backup registers) Note: Refer to for details on the read protection.
pub fn set_tamppriv(&mut self, val: bool)
pub fn set_tamppriv(&mut self, val: bool)
Tamper privilege protection (excluding backup registers) Note: Refer to for details on the read protection.
Trait Implementations§
impl Copy for Privcfgr
impl Eq for Privcfgr
impl StructuralPartialEq for Privcfgr
Auto Trait Implementations§
impl Freeze for Privcfgr
impl RefUnwindSafe for Privcfgr
impl Send for Privcfgr
impl Sync for Privcfgr
impl Unpin for Privcfgr
impl UnwindSafe for Privcfgr
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
)