Skip to content

Commit

Permalink
Clarify uart_write_blocking() API vs UART still busy sending (#1274) (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
andygpz11 authored Jul 25, 2024
1 parent 9f85f25 commit b3bf690
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/rp2_common/hardware_uart/include/hardware/uart.h
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,9 @@ static inline bool uart_is_readable(uart_inst_t *uart) {
* \ingroup hardware_uart
*
* 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 src The bytes to send
Expand Down

0 comments on commit b3bf690

Please sign in to comment.