mirror of
https://github.com/espressif/esp-idf.git
synced 2025-12-15 19:34:03 +00:00
feat(esp_driver_uart): support hp uarts wakeup modes 1 2 3 during light sleep
This commit is contained in:
@@ -67,6 +67,16 @@ typedef struct {
|
||||
*/
|
||||
esp_err_t uart_wakeup_setup(uart_port_t uart_num, const uart_wakeup_cfg_t *cfg);
|
||||
|
||||
/**
|
||||
* @brief Clear the UART wakeup configuration.
|
||||
*
|
||||
* This function will clear the UART wakeup behavior and set to its default configuration.
|
||||
*
|
||||
* @param uart_num The UART port to initialize for wakeup (e.g., UART_NUM_0, UART_NUM_1, etc.).
|
||||
* @param wakeup_mode The UART wakeup mode set in `uart_wakeup_setup`.
|
||||
*/
|
||||
void uart_wakeup_clear(uart_port_t uart_num, uart_wakeup_mode_t wakeup_mode);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user