Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
4ab3eef8
Commit
4ab3eef8
authored
Sep 18, 2016
by
Paul Sokolovsky
Browse files
docs/library/pyb.SPI: init(): Describe "bits" argument.
Based on
https://github.com/micropython/micropython/pull/2210
.
parent
a2391b5a
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/library/pyb.SPI.rst
View file @
4ab3eef8
...
...
@@ -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.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment