pub enum StopMode {
Stop1,
Stop2,
Standby,
}Expand description
Specifies a limit for the stop mode of the peripheral or the stop mode to be entered.
E.g. if StopMode::Stop1 is selected, the peripheral prevents the chip from entering Stop1 mode.
Variants§
Stop1
Peripheral prevents chip from entering Stop1 or executor will enter Stop1
Stop2
Peripheral prevents chip from entering Stop2 or executor will enter Stop2
Standby
Peripheral does not prevent chip from entering Stop
Trait Implementations§
impl Copy for StopMode
impl StructuralPartialEq for StopMode
Auto Trait Implementations§
impl Freeze for StopMode
impl RefUnwindSafe for StopMode
impl Send for StopMode
impl Sync for StopMode
impl Unpin for StopMode
impl UnwindSafe for StopMode
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