Struct stm32_metapac::flash::regs::Seccr
#[repr(transparent)]pub struct Seccr(pub u32);
Expand description
Flash secure control register
Tuple Fields§
§0: u32
Implementations§
§impl Seccr
impl Seccr
pub fn set_secper(&mut self, val: bool)
pub fn set_secper(&mut self, val: bool)
SECPER
pub fn set_secmer1(&mut self, val: bool)
pub fn set_secmer1(&mut self, val: bool)
SECMER1
pub fn set_secpnb(&mut self, val: u8)
pub fn set_secpnb(&mut self, val: u8)
SECPNB
pub fn set_secbker(&mut self, val: bool)
pub fn set_secbker(&mut self, val: bool)
SECBKER
pub fn set_secmer2(&mut self, val: bool)
pub fn set_secmer2(&mut self, val: bool)
SECMER2
pub fn set_secstrt(&mut self, val: bool)
pub fn set_secstrt(&mut self, val: bool)
SECSTRT
pub fn set_seceopie(&mut self, val: bool)
pub fn set_seceopie(&mut self, val: bool)
SECEOPIE
pub fn set_secerrie(&mut self, val: bool)
pub fn set_secerrie(&mut self, val: bool)
SECERRIE
pub const fn secrderrie(&self) -> bool
pub const fn secrderrie(&self) -> bool
SECRDERRIE
pub fn set_secrderrie(&mut self, val: bool)
pub fn set_secrderrie(&mut self, val: bool)
SECRDERRIE
pub fn set_secinv(&mut self, val: bool)
pub fn set_secinv(&mut self, val: bool)
SECINV
pub fn set_seclock(&mut self, val: bool)
pub fn set_seclock(&mut self, val: bool)
SECLOCK
Trait Implementations§
impl Copy for Seccr
impl Eq for Seccr
impl StructuralPartialEq for Seccr
Auto Trait Implementations§
impl Freeze for Seccr
impl RefUnwindSafe for Seccr
impl Send for Seccr
impl Sync for Seccr
impl Unpin for Seccr
impl UnwindSafe for Seccr
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
)