mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
feat(asrc): Add sleep retention
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
#define DR_REG_MEM_MONITOR_BASE 0x60025000
|
||||
#define DR_REG_PVT_BASE 0x60026000
|
||||
#define DR_REG_PCNT_BASE 0x60027000
|
||||
#define DR_REG_SAMPLE_RATE_CONVERTER_BASE 0x60028000
|
||||
#define DR_REG_ASRC_BASE 0x60028000
|
||||
#define DR_REG_ZERO_DET_BASE 0x60029000
|
||||
#define DR_REG_USB_OTG_FS_CORE0_BASE 0x60040000
|
||||
#define DR_REG_USB_OTG_FS_CORE1_BASE 0x6007F000
|
||||
|
||||
@@ -50,18 +50,19 @@ typedef enum periph_retention_module {
|
||||
SLEEP_RETENTION_MODULE_MCPWM0 = 26,
|
||||
SLEEP_RETENTION_MODULE_MCPWM1 = 27,
|
||||
SLEEP_RETENTION_MODULE_SDM0 = 28,
|
||||
SLEEP_RETENTION_MODULE_ASRC = 29,
|
||||
|
||||
/* Modem module, which includes BLE and 802.15.4 */
|
||||
SLEEP_RETENTION_MODULE_CLOCK_MODEM = 29,
|
||||
SLEEP_RETENTION_MODULE_BLE_MAC = 30,
|
||||
SLEEP_RETENTION_MODULE_BT_BB = 31,
|
||||
SLEEP_RETENTION_MODULE_802154_MAC = 32,
|
||||
SLEEP_RETENTION_MODULE_POWER = 33,
|
||||
SLEEP_RETENTION_MODULE_CLOCK_MODEM = 30,
|
||||
SLEEP_RETENTION_MODULE_BLE_MAC = 31,
|
||||
SLEEP_RETENTION_MODULE_BT_BB = 32,
|
||||
SLEEP_RETENTION_MODULE_802154_MAC = 33,
|
||||
SLEEP_RETENTION_MODULE_POWER = 34,
|
||||
|
||||
SLEEP_RETENTION_MODULE_MAX = SOC_PM_RETENTION_MODULE_NUM - 1
|
||||
} periph_retention_module_t;
|
||||
|
||||
#define is_top_domain_module(m) ((m) <= SLEEP_RETENTION_MODULE_SDM0)
|
||||
#define is_top_domain_module(m) ((m) <= SLEEP_RETENTION_MODULE_ASRC)
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user