Skip to content

Commit a79f667

Browse files
mcauserdpgeorge
authored andcommitted
docs: Fix some minor spelling mistakes.
paramter -> parameter send a receive -> send and receive repsonse -> response particualr -> particular constructore -> constructor
1 parent af90461 commit a79f667

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

docs/library/machine.SPI.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class SPI -- a Serial Peripheral Interface bus protocol (master side)
66
SPI is a synchronous serial protocol that is driven by a master. At the
77
physical level, a bus consists of 3 lines: SCK, MOSI, MISO. Multiple devices
88
can share the same bus. Each device should have a separate, 4th signal,
9-
SS (Slave Select), to select a particualr device on a bus with which
9+
SS (Slave Select), to select a particular device on a bus with which
1010
communication takes place. Management of an SS signal should happen in
1111
user code (via machine.Pin class).
1212

@@ -51,12 +51,12 @@ Methods
5151
- ``bits`` is the width in bits of each transfer. Only 8 is guaranteed to be supported by all hardware.
5252
- ``firstbit`` can be ``SPI.MSB`` or ``SPI.LSB``.
5353
- ``sck``, ``mosi``, ``miso`` are pins (machine.Pin) objects to use for bus signals. For most
54-
hardware SPI blocks (as selected by ``id`` parameter to the constructore), pins are fixed
54+
hardware SPI blocks (as selected by ``id`` parameter to the constructor), pins are fixed
5555
and cannot be changed. In some cases, hardware blocks allow 2-3 alternative pin sets for
5656
a hardware SPI block. Arbitrary pin assignments are possible only for a bitbanging SPI driver
5757
(``id`` = -1).
5858
- ``pins`` - WiPy port doesn't ``sck``, ``mosi``, ``miso`` arguments, and instead allows to
59-
specify them as a tuple of ``pins`` paramter.
59+
specify them as a tuple of ``pins`` parameter.
6060

6161
.. method:: SPI.deinit()
6262

docs/pyboard/quickref.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ See :ref:`pyb.SPI <pyb.SPI>`. ::
152152
spi = SPI(1, SPI.MASTER, baudrate=200000, polarity=1, phase=0)
153153
spi.send('hello')
154154
spi.recv(5) # receive 5 bytes on the bus
155-
spi.send_recv('hello') # send a receive 5 bytes
155+
spi.send_recv('hello') # send and receive 5 bytes
156156

157157
I2C bus
158158
-------

docs/wipy/quickref.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ See :ref:`machine.SPI <machine.SPI>`. ::
102102
spi.write('hello')
103103
spi.read(5) # receive 5 bytes on the bus
104104
rbuf = bytearray(5)
105-
spi.write_readinto('hello', rbuf) # send a receive 5 bytes
105+
spi.write_readinto('hello', rbuf) # send and receive 5 bytes
106106

107107
I2C bus
108108
-------

0 commit comments

Comments
 (0)