mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-22 11:22:13 +00:00
exclude rom headers in examples
1. avoid including rom headers directly in examples 2. add common API interface for CRC calculation in esp_common component
This commit is contained in:
@@ -841,6 +841,14 @@ esp_err_t uart_set_wakeup_threshold(uart_port_t uart_num, int wakeup_threshold);
|
||||
*/
|
||||
esp_err_t uart_get_wakeup_threshold(uart_port_t uart_num, int* out_wakeup_threshold);
|
||||
|
||||
/**
|
||||
* @brief Wait until UART tx memory empty and the last char send ok (polling mode).
|
||||
*
|
||||
* @param uart_num UART number
|
||||
*
|
||||
*/
|
||||
void uart_wait_tx_idle_polling(uart_port_t uart_num);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user