Skip to content

Commit 5066375

Browse files
committed
spi hal - specify default bit order
1 parent b4bb088 commit 5066375

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)