Skip to content
Snippets Groups Projects
Commit 4ab3eef8 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

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

parent a2391b5a
No related branches found
No related tags found
No related merge requests found
...@@ -68,6 +68,7 @@ Methods ...@@ -68,6 +68,7 @@ Methods
- ``polarity`` can be 0 or 1, and is the level the idle clock line sits at. - ``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 - ``phase`` can be 0 or 1 to sample data on the first or second clock edge
respectively. 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``. - ``firstbit`` can be ``SPI.MSB`` or ``SPI.LSB``.
- ``crc`` can be None for no CRC, or a polynomial specifier. - ``crc`` can be None for no CRC, or a polynomial specifier.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment