Skip to content

Commit

Permalink
docs/spi: reword description for getters
Browse files Browse the repository at this point in the history
  • Loading branch information
vsergeev committed Jan 7, 2020
1 parent ca2cd97 commit 85c163f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/spi.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ int spi_get_bit_order(spi_t *spi, spi_bit_order_t *bit_order);
int spi_get_bits_per_word(spi_t *spi, uint8_t *bits_per_word);
int spi_get_extra_flags(spi_t *spi, uint8_t *extra_flags);
```
Query the mode, max speed, bit order, bits per word, or extra flags, respectively, of the underlying `spidev` device.
Get the mode, max speed, bit order, bits per word, or extra flags, respectively, of the underlying `spidev` device.

`spi` should be a valid pointer to a SPI handle opened with `spi_open()` or `spi_open_advanced()`.

Expand Down

0 comments on commit 85c163f

Please sign in to comment.