Skip to main content

Module sleep

Module sleep 

Source
Available on crate feature unstable only.
Expand description

§RTC Control Sleep Module

§Overview

The sleep module allows configuring various wakeup sources and setting up the sleep behavior based on those sources. The supported wakeup sources include:

  • GPIO pins - light sleep only
  • timers
  • SDIO (Secure Digital Input/Output) - light sleep only
  • MAC (Media Access Control) wake - light sleep only
  • UART0 - light sleep only
  • UART1 - light sleep only
  • touch
  • ULP (Ultra-Low Power) wake
  • BT (Bluetooth) wake - light sleep only

Structs§

AnalogSleepConfig
Configuration for controlling analog behavior during sleep.
DigitalSleepConfig
Configuration for digital peripherals during sleep.
HpLpParam
Shared HP/LP sleep timing parameters.
HpParam
High-power system sleep timing parameters.
LowPower
Low-power management.
LpParam
Low-power system sleep timing parameters.
ParamSleepConfig
Sleep timing parameter configuration.
PowerDownFlags
Power domains to be powered down during sleep.
PowerSleepConfig
Configuration of HP and LP power domains during sleep.
RtcSleepConfig
Configuration for the RTC sleep behavior.
WrappedSleepConfig
The sleep configuration, as the entry hook of a wakeup source can see it.

Enums§

LightSleep
The result of a light sleep.

Type Aliases§

SleepEntryHook
Runs at sleep entry, before the sleep configuration reaches hardware.
SleepExitHook
Runs after a light sleep.