Enum stm32_metapac::flash::vals::OptsrIwdgStop
#[repr(u8)]pub enum OptsrIwdgStop {
B_0X0 = 0,
B_0X1 = 1,
}
Variants§
B_0X0 = 0
Independent watchdog frozen in system Stop mode
B_0X1 = 1
Independent watchdog keep running in system Stop mode.
Implementations§
§impl OptsrIwdgStop
impl OptsrIwdgStop
pub const fn from_bits(val: u8) -> OptsrIwdgStop
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for OptsrIwdgStop
impl Clone for OptsrIwdgStop
§fn clone(&self) -> OptsrIwdgStop
fn clone(&self) -> OptsrIwdgStop
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<OptsrIwdgStop> for u8
impl From<OptsrIwdgStop> for u8
§fn from(val: OptsrIwdgStop) -> u8
fn from(val: OptsrIwdgStop) -> u8
Converts to this type from the input type.
§impl From<u8> for OptsrIwdgStop
impl From<u8> for OptsrIwdgStop
§fn from(val: u8) -> OptsrIwdgStop
fn from(val: u8) -> OptsrIwdgStop
Converts to this type from the input type.
§impl Ord for OptsrIwdgStop
impl Ord for OptsrIwdgStop
§impl PartialEq for OptsrIwdgStop
impl PartialEq for OptsrIwdgStop
§fn eq(&self, other: &OptsrIwdgStop) -> bool
fn eq(&self, other: &OptsrIwdgStop) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd for OptsrIwdgStop
impl PartialOrd for OptsrIwdgStop
§fn partial_cmp(&self, other: &OptsrIwdgStop) -> Option<Ordering>
fn partial_cmp(&self, other: &OptsrIwdgStop) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for OptsrIwdgStop
impl Eq for OptsrIwdgStop
impl StructuralEq for OptsrIwdgStop
impl StructuralPartialEq for OptsrIwdgStop
Auto Trait Implementations§
impl RefUnwindSafe for OptsrIwdgStop
impl Send for OptsrIwdgStop
impl Sync for OptsrIwdgStop
impl Unpin for OptsrIwdgStop
impl UnwindSafe for OptsrIwdgStop
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