Enum stm32_metapac::flash::vals::NrstMode
#[repr(u8)]pub enum NrstMode {
_RESERVED_0 = 0,
ONLYINPUT = 1,
ONLYINTERNAL = 2,
BIDIRECTIONAL = 3,
}
Variants§
_RESERVED_0 = 0
ONLYINPUT = 1
Reset input only: a low level on the NRST pin generates system reset; internal RESET is not propagated to the NRST pin.
ONLYINTERNAL = 2
Standard GPIO: only internal RESET is possible
BIDIRECTIONAL = 3
Bidirectional reset: the NRST pin is configured in reset input/output (legacy) 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