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 the behavior during sleep modes.
DigitalSleepConfig
Configuration for controlling the behavior of digital peripherals during sleep modes.
Ext1WakeupSource
External wake-up source (Ext1).
GpioWakeupSource
GPIO wakeup source
HpLpParam
Parameters for high-power and low-power system configurations during sleep modes.
HpParam
Parameters for high-power system configurations during sleep modes.
LpParam
Parameters for low-power system configurations during sleep modes.
ParamSleepConfig
Configuration of parameters for sleep modes
PowerDownFlags
Power domains to be powered down during sleep
PowerSleepConfig
Configuration for controlling the power settings of high-power and low-power systems during sleep modes.
RtcSleepConfig
Configuration for the RTC sleep behavior.
TimerWakeupSource
Represents a timer wake-up source, triggering an event after a specified duration.
Uart0WakeupSource
UART0 wakeup source
Uart1WakeupSource
UART1 wakeup source
WakeFromLpCoreWakeupSource
LP Core wakeup source
WakeTriggers
Represents the wakeup triggers.

Enums§

Error
Errors that can occur when configuring RTC wake-up sources.
WakeupLevel
Level at which a wake-up event is triggered

Traits§

WakeSource
Trait representing a wakeup source.