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