8000 docs/library/pyb.SPI: init(): Describe "bits" argument. · sparkfun/circuitpython@4ab3eef · GitHub
[go: up one dir, main page]

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

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)
0