Struct stm32_metapac::flash::regs::Secsr
#[repr(transparent)]pub struct Secsr(pub u32);
Expand description
Flash status register
Tuple Fields§
§0: u32
Implementations§
§impl Secsr
impl Secsr
pub fn set_seceop(&mut self, val: bool)
pub fn set_seceop(&mut self, val: bool)
SECEOP
pub fn set_secoperr(&mut self, val: bool)
pub fn set_secoperr(&mut self, val: bool)
SECOPERR
pub const fn secprogerr(&self) -> bool
pub const fn secprogerr(&self) -> bool
SECPROGERR
pub fn set_secprogerr(&mut self, val: bool)
pub fn set_secprogerr(&mut self, val: bool)
SECPROGERR
pub fn set_secwrperr(&mut self, val: bool)
pub fn set_secwrperr(&mut self, val: bool)
SECWRPERR
pub fn set_secpgaerr(&mut self, val: bool)
pub fn set_secpgaerr(&mut self, val: bool)
SECPGAERR
pub fn set_secsizerr(&mut self, val: bool)
pub fn set_secsizerr(&mut self, val: bool)
SECSIZERR
pub fn set_secpgserr(&mut self, val: bool)
pub fn set_secpgserr(&mut self, val: bool)
SECPGSERR
pub fn set_secrderr(&mut self, val: bool)
pub fn set_secrderr(&mut self, val: bool)
Secure read protection error
pub fn set_secbsy(&mut self, val: bool)
pub fn set_secbsy(&mut self, val: bool)
SECBusy
Trait Implementations§
impl Copy for Secsr
impl Eq for Secsr
impl StructuralPartialEq for Secsr
Auto Trait Implementations§
impl Freeze for Secsr
impl RefUnwindSafe for Secsr
impl Send for Secsr
impl Sync for Secsr
impl Unpin for Secsr
impl UnwindSafe for Secsr
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
)