uart: add wakeup event for esp32c3

This commit is contained in:
Chen Yi Qun
2021-07-22 18:10:30 +08:00
committed by laokaiyao
parent 0ebf93c01e
commit 56e9920958
4 changed files with 22 additions and 1 deletions

View File

@@ -59,6 +59,7 @@ typedef enum {
UART_INTR_RS485_FRM_ERR = (0x1 << 16),
UART_INTR_RS485_CLASH = (0x1 << 17),
UART_INTR_CMD_CHAR_DET = (0x1 << 18),
UART_INTR_WAKEUP = (0x1 << 19),
} uart_intr_t;
static inline void uart_ll_set_reset_core(uart_dev_t *hw, bool core_rst_en) {