Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions include/zephyr/drivers/uart.h
Original file line number Diff line number Diff line change
Expand Up @@ -561,10 +561,11 @@ static inline int z_impl_uart_poll_in_u16(const struct device *dev,
/**
* @brief Write a character to the device for output.
*
* This routine checks if the transmitter is full. When the
* This routine checks if the transmitter is full. When the
* transmitter is not full, it writes a character to the data
* register. It waits and blocks the calling thread, otherwise. This
* function is a blocking call.
* register. It waits and blocks the calling thread otherwise. This
* function is a blocking call. It blocks the calling thread until the
* character is sent.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't it block until the TX FIFO has space for the character, rather than until the character is sent?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The doc I linked says "until the give character is sent". My intention is to unify these docs.

*
* To send a character when hardware flow control is enabled, the handshake
* signal CTS must be asserted.
Expand Down
Loading