diff options
| author | Limor "Ladyada" Fried <limor@ladyada.net> | 2020-02-11 22:55:44 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-11 22:55:44 -0500 |
| commit | fb8fbbf42e2cc54722631bd79d5f16b8d235b640 (patch) | |
| tree | 5de8eca253645e91351d6f0db8b435a8039d5de5 /shared-bindings | |
| parent | 8364c60eb28fa9afffb2a2fac96bd71a18faa6de (diff) | |
| parent | c57ccd5eb4d40ec5262aacb5eb1e16fd6157a652 (diff) | |
Merge pull request #2613 from dhalbert/spim3
nrf: add SPIM3 support
Diffstat (limited to 'shared-bindings')
| -rw-r--r-- | shared-bindings/busio/SPI.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/shared-bindings/busio/SPI.c b/shared-bindings/busio/SPI.c index d1791bef3..828ffb8d0 100644 --- a/shared-bindings/busio/SPI.c +++ b/shared-bindings/busio/SPI.c @@ -57,6 +57,13 @@ //| //| Construct an SPI object on the given pins. //| +//| ..note:: The SPI peripherals allocated in order of desirability, if possible, +//| such as highest speed and not shared use first. For instance, on the nRF52840, +//| there is a single 32MHz SPI peripheral, and multiple 8MHz peripherals, +//| some of which may also be used for I2C. The 32MHz SPI peripheral is returned +//| first, then the exclusive 8MHz SPI peripheral, and finally the shared 8MHz +//| peripherals. +//| //| .. seealso:: Using this class directly requires careful lock management. //| Instead, use :class:`~adafruit_bus_device.spi_device.SPIDevice` to //| manage locks. |
