docs/library/pyb.SPI: init(): Describe "bits" argument.

Based on https://github.com/micropython/micropython/pull/2210 .
pull/2434/head
Paul Sokolovsky 2016-09-18 21:41:21 +03:00
rodzic a2391b5a74
commit 4ab3eef8d7
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -68,6 +68,7 @@ Methods
- ``polarity`` can be 0 or 1, and is the level the idle clock line sits at.
- ``phase`` can be 0 or 1 to sample data on the first or second clock edge
respectively.
- ``bits`` can be 8 or 16, and is the number of bits in each transferred word.
- ``firstbit`` can be ``SPI.MSB`` or ``SPI.LSB``.
- ``crc`` can be None for no CRC, or a polynomial specifier.