Enum stm32_metapac::flash::vals::NrstMode
#[repr(u8)]pub enum NrstMode {
_RESERVED_0 = 0,
INPUT_ONLY = 1,
GPIO = 2,
INPUT_OUTPUT = 3,
}
Variants§
_RESERVED_0 = 0
INPUT_ONLY = 1
Reset pin is in reset input mode only
GPIO = 2
Reset pin is in GPIO mode only
INPUT_OUTPUT = 3
Reset pin is in resety input and output mode
Implementations§
Trait Implementations§
§impl Ord for NrstMode
impl Ord for NrstMode
§impl PartialOrd for NrstMode
impl PartialOrd for NrstMode
§fn partial_cmp(&self, other: &NrstMode) -> Option<Ordering>
fn partial_cmp(&self, other: &NrstMode) -> 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 NrstMode
impl Eq for NrstMode
impl StructuralEq for NrstMode
impl StructuralPartialEq for NrstMode
Auto Trait Implementations§
impl RefUnwindSafe for NrstMode
impl Send for NrstMode
impl Sync for NrstMode
impl Unpin for NrstMode
impl UnwindSafe for NrstMode
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