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§
- External wake-up source (Ext0).
- External wake-up source (Ext1).
- GPIO wakeup source
- Configuration for the RTC sleep behavior.
- RTC_IO wakeup source
- Represents a timer wake-up source, triggering an event after a specified duration.
- UART0 wakeup source
- UART1 wakeup source
- Represents the wakeup triggers.
Enums§
- Errors that can occur when configuring RTC wake-up sources.
- Level at which a wake-up event is triggered
Constants§
- Bluetooth power-up cycles.
- Bluetooth wait cycles.
- CPU top power-up cycles.
- CPU top wait cycles.
- DG peripheral power-up cycles.
- DG peripheral wait cycles.
- DG wrap power-up cycles.
- DG wrap wait cycles.
- Power-up setting for other blocks.
- Wait cycles for other blocks.
- Default wait time for CK8M during startup.
- Deep sleep debug attenuation setting for ultra-low power mode.
- Default monitor debug attenuation value.
- Digital bias setting for 0.90V.
- Digital bias setting for 0.95V.
- Digital bias setting for 1.00V.
- Digital bias setting for 1.05V.
- Digital bias setting for 1.10V.
- Digital bias setting for 1.15V.
- Digital bias setting for 1.20V.
- Digital bias setting for 1.25V.
- Digital bias setting for 1.30V. Voltage is approximately 1.34V in practice.
- Minimum sleep value.
- Default wait time for PLL buffer during startup.
- ULP co-processor touch start wait time default value.
- ULP co-processor touch start wait time during sleep, set to maximum.
- RTC memory power-up cycles.
- RTC memory wait cycles.
- RTC power-up cycles.
- RTC wait cycles.
- WiFi power-up cycles.
- WiFi wait cycles.
Traits§
- Trait representing a wakeup source.