Skip to content
Snippets Groups Projects
Unverified Commit b3bf690d authored by andygpz11's avatar andygpz11 Committed by GitHub
Browse files

Clarify uart_write_blocking() API vs UART still busy sending (#1274) (#1709)

parent 9f85f256
No related branches found
No related tags found
No related merge requests found
...@@ -312,6 +312,9 @@ static inline bool uart_is_readable(uart_inst_t *uart) { ...@@ -312,6 +312,9 @@ static inline bool uart_is_readable(uart_inst_t *uart) {
* \ingroup hardware_uart * \ingroup hardware_uart
* *
* This function will block until all the data has been sent to the UART transmit buffer * This function will block until all the data has been sent to the UART transmit buffer
* hardware. Note: Serial data transmission will continue until the Tx FIFO and
* the transmit shift register (not programmer-accessible) are empty.
* To ensure the UART FIFO has been emptied, you can use \ref uart_tx_wait_blocking()
* *
* \param uart UART instance. \ref uart0 or \ref uart1 * \param uart UART instance. \ref uart0 or \ref uart1
* \param src The bytes to send * \param src The bytes to send
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment