Struct Secsr
#[repr(transparent)]pub struct Secsr(pub u32);Expand description
Flash status register
Tuple Fields§
§0: u32Implementations§
§impl Secsr
impl Secsr
pub const fn set_progerr(&mut self, val: bool)
pub const fn set_progerr(&mut self, val: bool)
SECPROGERR
pub const fn set_wrperr(&mut self, val: bool)
pub const fn set_wrperr(&mut self, val: bool)
SECWRPERR
pub const fn set_pgaerr(&mut self, val: bool)
pub const fn set_pgaerr(&mut self, val: bool)
SECPGAERR
pub const fn set_sizerr(&mut self, val: bool)
pub const fn set_sizerr(&mut self, val: bool)
SECSIZERR
pub const fn set_pgserr(&mut self, val: bool)
pub const fn set_pgserr(&mut self, val: bool)
SECPGSERR
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 UnsafeUnpin 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