Enum stm32wlxx_hal::subghz::Startup
source · #[repr(u8)]pub enum Startup {
Cold = 0,
Warm = 1,
}
Expand description
Startup configurations when exiting sleep mode.
Argument of SleepCfg::set_startup
.
Variants§
Cold = 0
Cold startup when exiting Sleep mode, configuration registers reset.
Warm = 1
Warm startup when exiting Sleep mode, configuration registers kept in retention.
Note: Only the configuration of the activated modem, before going to sleep mode, is retained. The configuration of the other modes is lost and must be re-configured when exiting sleep mode.
Trait Implementations§
source§impl PartialEq for Startup
impl PartialEq for Startup
impl Copy for Startup
impl Eq for Startup
impl StructuralEq for Startup
impl StructuralPartialEq for Startup
Auto Trait Implementations§
impl RefUnwindSafe for Startup
impl Send for Startup
impl Sync for Startup
impl Unpin for Startup
impl UnwindSafe for Startup
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