Struct stm32_metapac::rtc::regs::Privcfgr
#[repr(transparent)]pub struct Privcfgr(pub u32);
Expand description
Privilege mode control register
Tuple Fields§
§0: u32
Implementations§
§impl Privcfgr
impl Privcfgr
pub fn set_alrpriv(&mut self, n: usize, val: Priv)
pub fn set_alrpriv(&mut self, n: usize, val: Priv)
Alarm and SSR underflow privilege protection
pub fn set_wutpriv(&mut self, val: Priv)
pub fn set_wutpriv(&mut self, val: Priv)
Wakeup timer privilege protection.
pub fn set_tspriv(&mut self, val: Priv)
pub fn set_tspriv(&mut self, val: Priv)
Timestamp privilege protection.
pub const fn calpriv(&self) -> Priv
pub const fn calpriv(&self) -> Priv
Shift register, Delight saving, calibration and reference clock privilege protection.
pub fn set_calpriv(&mut self, val: Priv)
pub fn set_calpriv(&mut self, val: Priv)
Shift register, Delight saving, calibration and reference clock privilege protection.
pub fn set_initpriv(&mut self, val: Priv)
pub fn set_initpriv(&mut self, val: Priv)
Initialization privilege 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
)