pub struct LVReset<State> { /* private fields */ }Expand description
Interface that controls when the Low Voltage Detection is active
Implementations§
Source§impl LVReset<RunAndStop>
impl LVReset<RunAndStop>
Sourcepub fn into_run_only(self) -> LVReset<RunOnly>
pub fn into_run_only(self) -> LVReset<RunOnly>
Do not run the Low Voltage Detection Reset during stop mode
Sourcepub fn into_disabled(self) -> LVReset<Disabled>
pub fn into_disabled(self) -> LVReset<Disabled>
Disable Reset upon Low Voltage Detection
This can only be changed one time, and it defaults to enabled.
Source§impl LVReset<RunOnly>
impl LVReset<RunOnly>
Sourcepub fn into_run_and_stop(self) -> LVReset<RunAndStop>
pub fn into_run_and_stop(self) -> LVReset<RunAndStop>
Run the Low Voltage Detection Reset during stop mode
Sourcepub fn into_disabled(self) -> LVReset<Disabled>
pub fn into_disabled(self) -> LVReset<Disabled>
Disable Reset upon Low Voltage Detection
This can only be changed one time, and it defaults to enabled.
Auto Trait Implementations§
impl<State> Freeze for LVReset<State>
impl<State> RefUnwindSafe for LVReset<State>where
State: RefUnwindSafe,
impl<State> Send for LVReset<State>where
State: Send,
impl<State> Sync for LVReset<State>where
State: Sync,
impl<State> Unpin for LVReset<State>where
State: Unpin,
impl<State> UnwindSafe for LVReset<State>where
State: UnwindSafe,
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