Struct stm32_metapac::flash::regs::Nsccr
#[repr(transparent)]pub struct Nsccr(pub u32);
Expand description
FLASH non-secure clear control register
Tuple Fields§
§0: u32
Implementations§
§impl Nsccr
impl Nsccr
pub const fn clr_eop(&self) -> bool
pub const fn clr_eop(&self) -> bool
EOP flag clear bit Setting this bit to 1 resets to 0 EOP flag in FLASH_NSSR register.
pub fn set_clr_eop(&mut self, val: bool)
pub fn set_clr_eop(&mut self, val: bool)
EOP flag clear bit Setting this bit to 1 resets to 0 EOP flag in FLASH_NSSR register.
pub const fn clr_wrperr(&self) -> bool
pub const fn clr_wrperr(&self) -> bool
WRPERR flag clear bit Setting this bit to 1 resets to 0 WRPERR flag in FLASH_NSSR register.
pub fn set_clr_wrperr(&mut self, val: bool)
pub fn set_clr_wrperr(&mut self, val: bool)
WRPERR flag clear bit Setting this bit to 1 resets to 0 WRPERR flag in FLASH_NSSR register.
pub const fn clr_pgserr(&self) -> bool
pub const fn clr_pgserr(&self) -> bool
PGSERR flag clear bit Setting this bit to 1 resets to 0 PGSERR flag in FLASH_NSSR register.
pub fn set_clr_pgserr(&mut self, val: bool)
pub fn set_clr_pgserr(&mut self, val: bool)
PGSERR flag clear bit Setting this bit to 1 resets to 0 PGSERR flag in FLASH_NSSR register.
pub const fn clr_strberr(&self) -> bool
pub const fn clr_strberr(&self) -> bool
STRBERR flag clear bit Setting this bit to 1 resets to 0 STRBERR flag in FLASH_NSSR register.
pub fn set_clr_strberr(&mut self, val: bool)
pub fn set_clr_strberr(&mut self, val: bool)
STRBERR flag clear bit Setting this bit to 1 resets to 0 STRBERR flag in FLASH_NSSR register.
pub const fn clr_incerr(&self) -> bool
pub const fn clr_incerr(&self) -> bool
INCERR flag clear bit Setting this bit to 1 resets to 0 INCERR flag in FLASH_NSSR register.
pub fn set_clr_incerr(&mut self, val: bool)
pub fn set_clr_incerr(&mut self, val: bool)
INCERR flag clear bit Setting this bit to 1 resets to 0 INCERR flag in FLASH_NSSR register.
pub const fn clr_obkerr(&self) -> bool
pub const fn clr_obkerr(&self) -> bool
OBKERR flag clear bit. Setting this bit to 1 resets to 0 OBKERR flag in FLASH_NSSR register.
pub fn set_clr_obkerr(&mut self, val: bool)
pub fn set_clr_obkerr(&mut self, val: bool)
OBKERR flag clear bit. Setting this bit to 1 resets to 0 OBKERR flag in FLASH_NSSR register.
pub const fn clr_obkwerr(&self) -> bool
pub const fn clr_obkwerr(&self) -> bool
OBKWERR flag clear bit. Setting this bit to 1 resets to 0 OBKWERR flag in FLASH_NSSR register.
pub fn set_clr_obkwerr(&mut self, val: bool)
pub fn set_clr_obkwerr(&mut self, val: bool)
OBKWERR flag clear bit. Setting this bit to 1 resets to 0 OBKWERR flag in FLASH_NSSR register.
pub const fn clr_optchangeerr(&self) -> bool
pub const fn clr_optchangeerr(&self) -> bool
Clear the flag corresponding flag in FLASH_NSSR by writing this bit.
pub fn set_clr_optchangeerr(&mut self, val: bool)
pub fn set_clr_optchangeerr(&mut self, val: bool)
Clear the flag corresponding flag in FLASH_NSSR by writing this bit.
Trait Implementations§
impl Copy for Nsccr
impl Eq for Nsccr
impl StructuralPartialEq for Nsccr
Auto Trait Implementations§
impl Freeze for Nsccr
impl RefUnwindSafe for Nsccr
impl Send for Nsccr
impl Sync for Nsccr
impl Unpin for Nsccr
impl UnwindSafe for Nsccr
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
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)
clone_to_uninit
)