Merge pull request #1961 from 0xc0170/spi_order_name

spi hal - specify default bit order
pull/1966/merge
Sam Grove 2016-06-17 00:05:38 +01:00 committed by GitHub
commit a07a118410
1 changed files with 2 additions and 1 deletions

View File

@ -81,7 +81,8 @@ void spi_free(spi_t *obj);
/** Configure the SPI format
*
* Set the number of bits per frame, configure clock polarity and phase, shift order and master/slave mode
* Set the number of bits per frame, configure clock polarity and phase, shift order and master/slave mode.
* The default bit order is MSB.
* @param[in,out] obj The SPI object to configure
* @param[in] bits The number of bits per frame
* @param[in] mode The SPI mode (clock polarity, phase, and shift direction)