Skip to content

Commit b9357d0

Browse files
Style
1 parent c9b6bac commit b9357d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hal/include/hal/spi_api.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ SPIName spi_get_peripheral_name(PinName mosi, PinName miso, PinName mclk);
192192

193193
/**
194194
* Fills the given spi_capabilities_t structure with the capabilities of the given peripheral.
195-
*
195+
*
196196
* @param ssel The CS pin being used, for checking the \c hw_cs_handle flag
197197
* @param slave True to get capabilities for slave mode, false to get capabilities for master mode
198198
* @param[out] cap Capabilities are returned here
@@ -433,7 +433,7 @@ const PinMap *spi_slave_cs_pinmap(void);
433433
* after the transfer is complete. If this function returns true, the driver layer will cache invalidate the Rx buffer under
434434
* the assumption that the data needs to be re-read from main memory. Be careful, because if the read was not actually
435435
* done by DMA, and the rx data is in the CPU cache, this invalidation will corrupt it.
436-
*
436+
*
437437
* @note The application layer will always acquire the SPI peripheral first before calling this, including setting the frequency and the bit width. So,
438438
* the \c bit_width argument will never be different from the SPI's currently set bit width, and can actually be ignored.
439439
* TODO remove this argument entirely.

0 commit comments

Comments
 (0)