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 onlyUART0
- light sleep onlyUART1
- light sleep onlytouch
ULP (Ultra-Low Power)
wakeBT (Bluetooth) wake
- light sleep only
Structs§
- Analog
Sleep Config - Configuration for controlling the behavior during sleep modes.
- Digital
Sleep Config - Configuration for controlling the behavior of digital peripherals during sleep modes.
- Ext1
Wakeup Source - External wake-up source (Ext1).
- Gpio
Wakeup Source - GPIO wakeup source
- HpLp
Param - 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.
- Param
Sleep Config - Configuration of parameters for sleep modes
- Power
Down Flags - Power domains to be powered down during sleep
- Power
Sleep Config - Configuration for controlling the power settings of high-power and low-power systems during sleep modes.
- RtcSleep
Config - Configuration for the RTC sleep behavior.
- Timer
Wakeup Source - Represents a timer wake-up source, triggering an event after a specified duration.
- Uart0
Wakeup Source - UART0 wakeup source
- Uart1
Wakeup Source - UART1 wakeup source
- Wake
From LpCore Wakeup Source - LP Core wakeup source
- Wake
Triggers - Represents the wakeup triggers.
Enums§
- Error
- Errors that can occur when configuring RTC wake-up sources.
- Wakeup
Level - Level at which a wake-up event is triggered
Traits§
- Wake
Source - Trait representing a wakeup source.