Struct stm32_metapac::pwr::regs::Seccfgr
#[repr(transparent)]pub struct Seccfgr(pub u32);
Expand description
Power secure configuration register
Tuple Fields§
§0: u32
Implementations§
§impl Seccfgr
impl Seccfgr
pub fn set_wup1sec(&mut self, val: bool)
pub fn set_wup1sec(&mut self, val: bool)
WKUP1 pin security
pub fn set_wup2sec(&mut self, val: bool)
pub fn set_wup2sec(&mut self, val: bool)
WKUP2 pin security
pub fn set_wup3sec(&mut self, val: bool)
pub fn set_wup3sec(&mut self, val: bool)
WKUP3 pin security
pub fn set_wup4sec(&mut self, val: bool)
pub fn set_wup4sec(&mut self, val: bool)
WKUP4 pin security
pub fn set_wup5sec(&mut self, val: bool)
pub fn set_wup5sec(&mut self, val: bool)
WKUP5 pin security
pub fn set_lpmsec(&mut self, val: bool)
pub fn set_lpmsec(&mut self, val: bool)
LPMSEC
pub fn set_vdmsec(&mut self, val: bool)
pub fn set_vdmsec(&mut self, val: bool)
VDMSEC
pub fn set_apcsec(&mut self, val: bool)
pub fn set_apcsec(&mut self, val: bool)
APCSEC
Trait Implementations§
impl Copy for Seccfgr
impl Eq for Seccfgr
impl StructuralPartialEq for Seccfgr
Auto Trait Implementations§
impl Freeze for Seccfgr
impl RefUnwindSafe for Seccfgr
impl Send for Seccfgr
impl Sync for Seccfgr
impl Unpin for Seccfgr
impl UnwindSafe for Seccfgr
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
)