pub enum ResetMode {
ResetInput = 1,
GPIO = 2,
Bidirectional = 3,
}
Expand description
Reset pin mode and remap
Variants§
ResetInput = 1
Reset Input only: a low level on the NRST pin generates system reset, internal RESET not propagated to the NSRT pin
GPIO = 2
GPIO: standard GPIO pad functionality, only internal RESET possible
Bidirectional = 3
Bidirectional reset: NRST pin configured in reset input/output mode (legacy mode)
Auto Trait Implementations§
impl Freeze for ResetMode
impl RefUnwindSafe for ResetMode
impl Send for ResetMode
impl Sync for ResetMode
impl Unpin for ResetMode
impl UnwindSafe for ResetMode
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