Enum stm32_metapac::flash::vals::OptsrNrstStop
#[repr(u8)]pub enum OptsrNrstStop {
B_0X0 = 0,
B_0X1 = 1,
}
Variants§
B_0X0 = 0
a reset is generated when entering Stop mode on core domain
B_0X1 = 1
no reset generated when entering Stop mode on core domain.
Implementations§
§impl OptsrNrstStop
impl OptsrNrstStop
pub const fn from_bits(val: u8) -> OptsrNrstStop
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for OptsrNrstStop
impl Clone for OptsrNrstStop
§fn clone(&self) -> OptsrNrstStop
fn clone(&self) -> OptsrNrstStop
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 From<OptsrNrstStop> for u8
impl From<OptsrNrstStop> for u8
§fn from(val: OptsrNrstStop) -> u8
fn from(val: OptsrNrstStop) -> u8
Converts to this type from the input type.
§impl From<u8> for OptsrNrstStop
impl From<u8> for OptsrNrstStop
§fn from(val: u8) -> OptsrNrstStop
fn from(val: u8) -> OptsrNrstStop
Converts to this type from the input type.
§impl Ord for OptsrNrstStop
impl Ord for OptsrNrstStop
§impl PartialEq for OptsrNrstStop
impl PartialEq for OptsrNrstStop
§impl PartialOrd for OptsrNrstStop
impl PartialOrd for OptsrNrstStop
impl Copy for OptsrNrstStop
impl Eq for OptsrNrstStop
impl StructuralPartialEq for OptsrNrstStop
Auto Trait Implementations§
impl Freeze for OptsrNrstStop
impl RefUnwindSafe for OptsrNrstStop
impl Send for OptsrNrstStop
impl Sync for OptsrNrstStop
impl Unpin for OptsrNrstStop
impl UnwindSafe for OptsrNrstStop
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
)