light sleep: add uart new final state machine support for esp32s3

This commit is contained in:
Li Shuai
2021-04-01 19:52:30 +08:00
parent af9cb85e00
commit 512800891e
2 changed files with 6 additions and 0 deletions

View File

@@ -33,6 +33,9 @@ extern "C" {
#define UART_LL_MIN_WAKEUP_THRESH (2)
#define UART_LL_INTR_MASK (0x7ffff) //All interrupt mask
#define UART_LL_FSM_IDLE (0x0)
#define UART_LL_FSM_TX_WAIT_SEND (0xf)
// Define UART interrupts
typedef enum {
UART_INTR_RXFIFO_FULL = (0x1 << 0),

View File

@@ -23,6 +23,9 @@ extern "C" {
#define SOC_UART_NUM (3)
// UART has an extra TX_WAIT_SEND state when the FIFO is not empty and XOFF is enabled
#define SOC_UART_SUPPORT_FSM_TX_WAIT_SEND (1)
#ifdef __cplusplus
}
#endif