diff options
| author | David P <dpoirier@y7mail.com> | 2021-06-12 14:51:05 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2021-07-18 11:19:44 +1000 |
| commit | fdd5b18133e9d9f5a4e76be22ece6632d11d7fee (patch) | |
| tree | 07f4e1b5eb2688306ec840a0d099b4408f7b46f2 /docs/library/machine.SPI.rst | |
| parent | cbc8d5b61f0742e810ad45bd27d8daa11f3dbbf8 (diff) | |
docs: Replace master/slave with controller/peripheral in I2C and SPI.
See https://www.oshwa.org/a-resolution-to-redefine-spi-signal-names
Diffstat (limited to 'docs/library/machine.SPI.rst')
| -rw-r--r-- | docs/library/machine.SPI.rst | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/library/machine.SPI.rst b/docs/library/machine.SPI.rst index 7565241eb..46ac2ec74 100644 --- a/docs/library/machine.SPI.rst +++ b/docs/library/machine.SPI.rst @@ -1,14 +1,14 @@ .. currentmodule:: machine .. _machine.SPI: -class SPI -- a Serial Peripheral Interface bus protocol (master side) -===================================================================== +class SPI -- a Serial Peripheral Interface bus protocol (controller side) +========================================================================= -SPI is a synchronous serial protocol that is driven by a master. At the +SPI is a synchronous serial protocol that is driven by a controller. At the physical level, a bus consists of 3 lines: SCK, MOSI, MISO. Multiple devices can share the same bus. Each device should have a separate, 4th signal, -SS (Slave Select), to select a particular device on a bus with which -communication takes place. Management of an SS signal should happen in +CS (Chip Select), to select a particular device on a bus with which +communication takes place. Management of a CS signal should happen in user code (via machine.Pin class). Both hardware and software SPI implementations exist via the @@ -102,9 +102,9 @@ Methods Constants --------- -.. data:: SPI.MASTER +.. data:: SPI.CONTROLLER - for initialising the SPI bus to master; this is only used for the WiPy + for initialising the SPI bus to controller; this is only used for the WiPy .. data:: SPI.MSB |
