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
§impl PartialOrd for OptsrIwdgStop
impl PartialOrd for OptsrIwdgStop
impl Copy for OptsrIwdgStop
impl Eq for OptsrIwdgStop
impl StructuralPartialEq for OptsrIwdgStop
Auto Trait Implementations§
impl Freeze for OptsrIwdgStop
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
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
)