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