• R/O
  • SSH
  • HTTPS

chibios: Commit


Commit MetaInfo

Révision14909 (tree)
l'heure2021-10-14 16:51:32
Auteurgdisirio

Message de Log

Documentation fixes.

Change Summary

Modification

--- trunk/os/hal/src/hal_spi.c (revision 14908)
+++ trunk/os/hal/src/hal_spi.c (revision 14909)
@@ -328,8 +328,6 @@
328328 * idle words on the SPI bus and ignores the received data.
329329 * @pre In order to use this function the option @p SPI_USE_WAIT must be
330330 * enabled.
331- * @pre In order to use this function the driver must have been configured
332- * without callbacks (@p end_cb = @p NULL).
333331 *
334332 * @param[in] spip pointer to the @p SPIDriver object
335333 * @param[in] n number of words to be ignored
@@ -356,8 +354,6 @@
356354 * operation.
357355 * @pre In order to use this function the option @p SPI_USE_WAIT must be
358356 * enabled.
359- * @pre In order to use this function the driver must have been configured
360- * without callbacks (@p end_cb = @p NULL).
361357 * @note The buffers are organized as uint8_t arrays for data sizes below
362358 * or equal to 8 bits else it is organized as uint16_t arrays.
363359 *
@@ -389,8 +385,6 @@
389385 * @details This synchronous function performs a transmit operation.
390386 * @pre In order to use this function the option @p SPI_USE_WAIT must be
391387 * enabled.
392- * @pre In order to use this function the driver must have been configured
393- * without callbacks (@p end_cb = @p NULL).
394388 * @note The buffers are organized as uint8_t arrays for data sizes below
395389 * or equal to 8 bits else it is organized as uint16_t arrays.
396390 *
@@ -419,8 +413,6 @@
419413 * @details This synchronous function performs a receive operation.
420414 * @pre In order to use this function the option @p SPI_USE_WAIT must be
421415 * enabled.
422- * @pre In order to use this function the driver must have been configured
423- * without callbacks (@p end_cb = @p NULL).
424416 * @note The buffers are organized as uint8_t arrays for data sizes below
425417 * or equal to 8 bits else it is organized as uint16_t arrays.
426418 *
Afficher sur ancien navigateur de dépôt.