#411 support CS0-4

This commit is contained in:
mstroh76
2026-01-10 17:06:26 +01:00
parent 565097557d
commit 2d22070aa3
3 changed files with 8 additions and 6 deletions

View File

@@ -809,8 +809,8 @@ int wiringPiSPISetupMode(int channel, int speed, int mode)
int wiringPiSPIxSetupMode(const int number, const int channel, const int speed, const int mode)
```
``number``: SPI Nummer (typisch 0, bei Compute Modul 0-7).
``channel``: SPI Kanal (typisch 0 oder 1, bei Compute Modul 0-3).
``number``: SPI Nummer (typisch 0, bei Compute Modul 0-6).
``channel``: SPI Kanal (typisch 0 oder 1, bei Compute Modul oder entsprechenden overlay 0-4).
``speed``: SPI Taktrate.
``mode``: SPI Modus (https://www.kernel.org/doc/Documentation/spi/spidev).
``Rückgabewert``: Datei Handle zum SPI-Bus

View File

@@ -798,8 +798,8 @@ int wiringPiSPISetupMode(int channel, int speed, int mode);
int wiringPiSPIxSetupMode(const int number, const int channel, const int speed, const int mode);
```
``number``: SPI number (typically 0, on Compute Module 0-7).
``channel``: SPI channel (typically 0 or 1, on Compute Module 0-3).
``number``: SPI number (typically 0, on Compute Module 0-6).
``channel``: SPI channel (typically 0 or 1, on Compute Module or the corresponding overlay 0-4).
``speed``: SPI clock speed in Hz (500,000 to 32,000,000).
``mode``: SPI mode ([www.kernel.org/doc/Documentation/spi/spidev](https://www.kernel.org/doc/Documentation/spi/spidev)).
``Return Value``: File handle to the SPI bus, or -1 on error.