Skip to content

Commit

Permalink
Merge branch 'docs/update_brief_of_uart_set_wakeup_threshold' into 'm…
Browse files Browse the repository at this point in the history
…aster'

update brief of uart_set_wakeup_threshold

See merge request espressif/esp-idf!22886
  • Loading branch information
Lindazhxy committed Mar 31, 2023
2 parents cac58c5 + cafd3ab commit 5d70620
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions components/driver/uart/include/driver/uart.h
Expand Up @@ -766,8 +766,10 @@ esp_err_t uart_get_collision_flag(uart_port_t uart_num, bool* collision_flag);
* The character that triggers wakeup is not received by UART (i.e. it can not
* be obtained from UART FIFO). Depending on the baud rate, a few characters
* after that will also not be received. Note that when the chip enters and exits
* light sleep mode, APB frequency will be changing. To make sure that UART has
* correct baud rate all the time, select UART_SCLK_REF_TICK or UART_SCLK_XTAL as UART clock source in uart_config_t::source_clk.
* light sleep mode, APB frequency will be changing. To ensure that UART has
* correct Baud rate all the time, it is necessary to select a source clock which has
* a fixed frequency and remains active during sleep. For the supported clock sources
* of the chips, please refer to `uart_sclk_t` or `soc_periph_uart_clk_src_legacy_t`
*
* @note in ESP32, the wakeup signal can only be input via IO_MUX (i.e.
* GPIO3 should be configured as function_1 to wake up UART0,
Expand Down

0 comments on commit 5d70620

Please sign in to comment.