@@ -138,30 +138,32 @@ size_t usart_rx( usart_t usart, byte_t * data, size_t max_size );
138138/**
139139 * @fn usart_tx( usart_t, byte_t const *, size_t )
140140 * @brief Asynchronously tranmits the specified data buffer.
141- * @returns `true` if the buffer was successfully queued for transmission, or `false` if there was not enough space in
142- * the transmit buffer for the message .
141+ * @returns `true` if the buffer was successfully queued for transmission, or `false` if the data buffer is too large.
142+ * @note Blocks until the data has been successfully queued for transmission .
143143 */
144144bool usart_tx ( usart_t usart , byte_t const * data , size_t size );
145145
146146/**
147147 * @fn usart_tx_str( usart_t, char const * )
148148 * @brief Asynchronously transmits the specified string.
149- * @returns `true` if the string was successfully queued for transmission, or `false` if there was not enough space in
150- * the transmit buffer for the message .
149+ * @returns `true` if the string was successfully queued for transmission, or `false` if the string is too long.
150+ * @note Blocks until the string has been successfully queued for transmission .
151151 */
152152bool usart_tx_str ( usart_t usart , char const * str );
153153
154154/**
155155 * @fn usart_tx_sync( usart_t, byte_t const *, size_t )
156156 * @brief Synchronously transmits the specified data buffer.
157- * @note This function is intended for debugging. The `usart_tx()` function should be used for normal purposes.
157+ * @note This function blocks until the data buffer has been completely transmitted. This is intended for debugging -
158+ * the `usart_tx()` function should be used for normal purposes.
158159 */
159160void usart_tx_sync ( usart_t usart , byte_t const * data , size_t size );
160161
161162/**
162163 * @fn usart_tx_sync_str( usart_t, char const * )
163164 * @brief Synchronously transmits the specified string.
164- * @note This function is intended for debugging. The `usart_tx_str()` function should be used for normal purposes.
165+ * @note This function blocks until the string has been completely transmitted. This is intended for debugging - the
166+ * `usart_tx_str()` function should be used for normal purposes.
165167 */
166168void usart_tx_sync_str ( usart_t usart , char const * str );
167169
0 commit comments