Skip to main content

set_sleep

Function set_sleep 

Source
pub const fn set_sleep(warm_start: bool, rtc_wake: bool) -> Command
Expand description

SetSleep: puts the chip to sleep, from Table 13-2.

§Arguments

  • warm_start - true to keep the configuration in retention memory.
  • rtc_wake - true to wake on the RTC timeout.

§Returns

The command.