Struct stm32_metapac::syscfg::regs::Scsr
#[repr(transparent)]pub struct Scsr(pub u32);
Expand description
SYSCFG SRAM2 control and status register
Tuple Fields§
§0: u32
Implementations§
§impl Scsr
impl Scsr
pub const fn sram2er(&self) -> bool
pub const fn sram2er(&self) -> bool
SRAM2 erase Setting this bit starts a hardware SRAM2 erase operation. This bit is automatically cleared at the end of the SRAM2 erase operation. Note: This bit is write-protected: setting this bit is possible only after the correct key sequence is written in the SYSCFG_SKR register.
pub fn set_sram2er(&mut self, val: bool)
pub fn set_sram2er(&mut self, val: bool)
SRAM2 erase Setting this bit starts a hardware SRAM2 erase operation. This bit is automatically cleared at the end of the SRAM2 erase operation. Note: This bit is write-protected: setting this bit is possible only after the correct key sequence is written in the SYSCFG_SKR register.
pub fn set_sram2bsy(&mut self, val: bool)
pub fn set_sram2bsy(&mut self, val: bool)
SRAM2 busy by erase operation
Trait Implementations§
impl Copy for Scsr
impl Eq for Scsr
impl StructuralPartialEq for Scsr
Auto Trait Implementations§
impl Freeze for Scsr
impl RefUnwindSafe for Scsr
impl Send for Scsr
impl Sync for Scsr
impl Unpin for Scsr
impl UnwindSafe for Scsr
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
)