Enum stm32wlxx_hal::pac::flash::optr::SRAM_RST_A
pub enum SRAM_RST_A {
Reset = 0,
NotReset = 1,
}
Available on crate feature
stm32wl5x_cm4
only.Expand description
SRAM2 Erase when system reset
Value on reset: 1
Variants§
Reset = 0
0: SRAM1 and SRAM2 erased when a system reset occurs
NotReset = 1
1: SRAM1 and SRAM2 not erased when a system reset occurs
Trait Implementations§
§impl Clone for SRAM_RST_A
impl Clone for SRAM_RST_A
§fn clone(&self) -> SRAM_RST_A
fn clone(&self) -> SRAM_RST_A
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for SRAM_RST_A
impl Debug for SRAM_RST_A
§impl PartialEq for SRAM_RST_A
impl PartialEq for SRAM_RST_A
§fn eq(&self, other: &SRAM_RST_A) -> bool
fn eq(&self, other: &SRAM_RST_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SRAM_RST_A
impl StructuralPartialEq for SRAM_RST_A
Auto Trait Implementations§
impl RefUnwindSafe for SRAM_RST_A
impl Send for SRAM_RST_A
impl Sync for SRAM_RST_A
impl Unpin for SRAM_RST_A
impl UnwindSafe for SRAM_RST_A
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