From 4ab3eef8d77c436e1ba27d6690cb9b505dd1c8ad Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sun, 18 Sep 2016 21:41:21 +0300 Subject: [PATCH] docs/library/pyb.SPI: init(): Describe "bits" argument. Based on https://github.com/micropython/micropython/pull/2210 . --- docs/library/pyb.SPI.rst | 1 + 1 file changed, 1 insertion(+) 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.