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.
- 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§
- Power-up cycles for the digital wrap components.
- Wait cycles for the digital wrap components.
- Power-up cycles for ROM and RAM.
- Wait cycles for ROM and RAM.
- Default wait cycles to enable the 8MHz clock.
- Default wait cycles for the 8MHz clock.
- Cycles to wait for the 8MHz clock to stabilize.
- Default debug attenuation value.
- RTC digital bias setting corresponding to 0.90V.
- RTC digital bias setting corresponding to 0.95V.
- RTC digital bias setting corresponding to 1.00V.
- RTC digital bias setting corresponding to 1.05V.
- RTC digital bias setting corresponding to 1.10V.
- RTC digital bias setting corresponding to 1.15V.
- RTC digital bias setting corresponding to 1.20V.
- RTC digital bias setting corresponding to 1.25V.
- Minimum sleep value (in cycles).
- Power-up cycles for other blocks.
- Wait cycles for other blocks.
- Cycles to wait for PLL buffer stabilization.
- Delay in cycles for wakeup signal to be applied.
- Time (in microseconds) for waiting the XTL buffer to stabilize during sleep.
- Power-up cycles for RTC memory.
- Wait cycles for RTC memory.
- Power-up cycles for RTC components.
- Wait cycles for RTC components.
- Power-up cycles for Wi-Fi.
- Wait cycles for Wi-Fi.
Traits§
- Trait representing a wakeup source.