feat(i2c): Support i2c sleep retention on esp32c6/h2

This commit is contained in:
Cao Sen Miao
2024-02-04 18:26:29 +08:00
parent 000d1407ea
commit cf521b60ea
17 changed files with 174 additions and 63 deletions

View File

@@ -38,6 +38,7 @@ typedef enum periph_retention_module_bitmap {
SLEEP_RETENTION_MODULE_GDMA_CH0 = BIT(24),
SLEEP_RETENTION_MODULE_GDMA_CH1 = BIT(25),
SLEEP_RETENTION_MODULE_GDMA_CH2 = BIT(26),
SLEEP_RETENTION_MODULE_I2C0 = BIT(27),
SLEEP_RETENTION_MODULE_ALL = (uint32_t)-1
} periph_retention_module_bitmap_t;