diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-09-18 21:41:21 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-09-18 21:41:21 +0300 |
commit | 4ab3eef8d77c436e1ba27d6690cb9b505dd1c8ad (patch) | |
tree | 532224978ee90c3d72484ba5f2a799c91dd9d759 | |
parent | a2391b5a74ff771e2bfc7529aed2f7717309c448 (diff) | |
download | micropython-4ab3eef8d77c436e1ba27d6690cb9b505dd1c8ad.tar.gz micropython-4ab3eef8d77c436e1ba27d6690cb9b505dd1c8ad.zip |
docs/library/pyb.SPI: init(): Describe "bits" argument.
Based on https://github.com/micropython/micropython/pull/2210 .
-rw-r--r-- | docs/library/pyb.SPI.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/library/pyb.SPI.rst b/docs/library/pyb.SPI.rst index 54ecc65b6d..fd110be190 100644 --- a/docs/library/pyb.SPI.rst +++ b/docs/library/pyb.SPI.rst @@ -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. |