Skip to content

Commit 4d7afe8

Browse files
authored
feat(uart): documents using the IDF default uart clock source
1 parent 3264693 commit 4d7afe8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cores/esp32/esp32-hal-uart.h

+1
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ bool uartSetMode(uart_t *uart, uart_mode_t mode);
9999

100100
// Used to set the UART clock source mode. It must be set before calling uartBegin(), otherwise it won't have any effect.
101101
// Not all clock source are available to every SoC. The compatible option are listed here:
102+
// UART_SCLK_DEFAULT :: any SoC - it will set whatever IDF defines as the default UART Clock Source
102103
// UART_SCLK_APB :: ESP32, ESP32-S2, ESP32-C3 and ESP32-S3
103104
// UART_SCLK_PLL_F80M :: ESP32-C5, ESP32-C6, ESP32-C61 and ESP32-P4
104105
// UART_SCLK_PLL_F40M :: ESP32-C2

0 commit comments

Comments
 (0)