mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-09 22:21:10 +00:00
feat(uart): support uart sleep retention on C5/C61
This commit is contained in:
@@ -182,7 +182,7 @@ bool peripheral_domain_pd_allowed(void)
|
||||
#if SOC_UART_SUPPORT_SLEEP_RETENTION
|
||||
mask.bitmap[SLEEP_RETENTION_MODULE_UART0 >> 5] |= BIT(SLEEP_RETENTION_MODULE_UART0 % 32);
|
||||
mask.bitmap[SLEEP_RETENTION_MODULE_UART1 >> 5] |= BIT(SLEEP_RETENTION_MODULE_UART1 % 32);
|
||||
# if (SOC_UART_HP_NUM > 2) && !CONFIG_IDF_TARGET_ESP32C61 // TODO: IDF-11370
|
||||
# if (SOC_UART_HP_NUM > 2)
|
||||
mask.bitmap[SLEEP_RETENTION_MODULE_UART2 >> 5] |= BIT(SLEEP_RETENTION_MODULE_UART2 % 32);
|
||||
# endif
|
||||
# if (SOC_UART_HP_NUM > 3)
|
||||
|
Reference in New Issue
Block a user