Skip to content

Commit 4ab3eef

Browse files
committed
docs/library/pyb.SPI: init(): Describe "bits" argument.
Based on micropython#2210 .
1 parent a2391b5 commit 4ab3eef

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

docs/library/pyb.SPI.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ Methods
6868
- ``polarity`` can be 0 or 1, and is the level the idle clock line sits at.
6969
- ``phase`` can be 0 or 1 to sample data on the first or second clock edge
7070
respectively.
71+
- ``bits`` can be 8 or 16, and is the number of bits in each transferred word.
7172
- ``firstbit`` can be ``SPI.MSB`` or ``SPI.LSB``.
7273
- ``crc`` can be None for no CRC, or a polynomial specifier.
7374

0 commit comments

Comments
 (0)