Skip to main content

Module sleep

Module sleep 

Source
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§

AnalogSleepConfigunstable
Configuration for controlling the behavior during sleep modes.
DigitalSleepConfigunstable
Configuration for controlling the behavior of digital peripherals during sleep modes.
Ext1WakeupSource
External wake-up source (Ext1).
GpioWakeupSource
GPIO wakeup source
HpLpParamunstable
Parameters for high-power and low-power system configurations during sleep modes.
HpParamunstable
Parameters for high-power system configurations during sleep modes.
LpParamunstable
Parameters for low-power system configurations during sleep modes.
ParamSleepConfigunstable
Configuration of parameters for sleep modes
PowerDownFlagsunstable
Power domains to be powered down during sleep
PowerSleepConfigunstable
Configuration for controlling the power settings of high-power and low-power systems during sleep modes.
RtcSleepConfigunstable
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.