Skip to content

Commit a07a118

Browse files
authored
Merge pull request #1961 from 0xc0170/spi_order_name
spi hal - specify default bit order
2 parents 40d4599 + 5066375 commit a07a118

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hal/hal/spi_api.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ void spi_free(spi_t *obj);
8181

8282
/** Configure the SPI format
8383
*
84-
* Set the number of bits per frame, configure clock polarity and phase, shift order and master/slave mode
84+
* Set the number of bits per frame, configure clock polarity and phase, shift order and master/slave mode.
85+
* The default bit order is MSB.
8586
* @param[in,out] obj The SPI object to configure
8687
* @param[in] bits The number of bits per frame
8788
* @param[in] mode The SPI mode (clock polarity, phase, and shift direction)

0 commit comments

Comments
 (0)