From: mstroh Date: Sat, 1 Mar 2025 10:50:16 +0000 (+0100) Subject: #324 X-Git-Url: https://git.feebdaed.xyz/?a=commitdiff_plain;h=63a145b0c748f0d90c0a5b70ca421bb66384be61;p=0xmirror%2FWiringPi.git #324 --- diff --git a/documentation/english/functions.md b/documentation/english/functions.md index 16e7d09..a277e80 100644 --- a/documentation/english/functions.md +++ b/documentation/english/functions.md @@ -582,7 +582,7 @@ int wiringPiSPIxSetupMode(const int number, const int channel, const int speed, ``` ``number``: SPI muber (typically 0, on Compute Module 0-7). -``channel``: SPI channel (typically 0 or 1, on Compute Module 0-3.). +``channel``: SPI channel (typically 0 or 1, on Compute Module 0-3). ``speed``: SPI clock. ``mode``: SPI mode (https://www.kernel.org/doc/Documentation/spi/spidev). ``Return Value``: File handle to the SPI bus @@ -615,7 +615,7 @@ int wiringPiSPIxDataRW (const int number, const int channel, unsigned char *data ``` ``number``: SPI muber (typically 0, on Compute Module 0-7). -``channel``: SPI channel (typically 0 or 1, on Compute Module 0-3.). +``channel``: SPI channel (typically 0 or 1, on Compute Module 0-3). ``data``: Buffer ``len``: Size of ``data`` buffer or data size. ``Return Value``: Return Value of ``ioctl`` function (https://man7.org/linux/man-pages/man2/ioctl.2.html) @@ -656,7 +656,7 @@ int wiringPiSPIxGetFd(const int number, int channel) ``` ``number``: SPI muber (typically 0, on Compute Module 0-7). -``channel``: SPI channel (typically 0 or 1, on Compute Module 0-3.). +``channel``: SPI channel (typically 0 or 1, on Compute Module 0-3). ``Return Value``: File handle to the SPI bus > -1 ... Invalid or not opened