From 1bae1c268bc0938483921a9940f13fe3e1cc47db Mon Sep 17 00:00:00 2001 From: Rubberazer <47650457+Rubberazer@users.noreply.github.com> Date: Sat, 6 Jul 2024 15:40:21 +0200 Subject: [PATCH] update docs --- docs/html/jetgpio_8h.html | 4 ++-- jetgpio.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/html/jetgpio_8h.html b/docs/html/jetgpio_8h.html index 96e4d2a..7077d7b 100644 --- a/docs/html/jetgpio_8h.html +++ b/docs/html/jetgpio_8h.html @@ -158,7 +158,7 @@  This reads two bytes from the specified consecutive register(s) of the device associated with handle.
  int spiOpen (unsigned spiChan, unsigned speed, unsigned mode, unsigned cs_delay, unsigned bits_word, unsigned lsb_first, unsigned cs_change) - This function returns a handle for the SPI device on the channel. Data will be transferred at baud bits per second. The flags may be used to modify the default behaviour of a 4-wire operation, mode 0, active low chip select. There are 2 SPI channels called SPI1 & SPI2 on Nano and SPI0 & SPI1 on Orin Nano & NX. For Orin AGX there is only 1 SPI channel: SPI1. The pins used are given in the following table.
+ This function returns a handle for the SPI device on the channel. Data will be transferred at baud bits per second. The flags may be used to modify the default behaviour of a 4-wire operation, mode 0, active low chip select. There are 2 SPI channels called SPI1 & SPI2 on Nano and SPI0 & SPI1 on Orin Nano & NX. For Orin AGX there is only 1 SPI channel: SPI1 (pins 21, 19...so forth). The pins used are given in the following table.
  int spiClose (unsigned handle)  This functions closes the SPI device identified by the handle.
@@ -832,7 +832,7 @@

-

This function returns a handle for the SPI device on the channel. Data will be transferred at baud bits per second. The flags may be used to modify the default behaviour of a 4-wire operation, mode 0, active low chip select. There are 2 SPI channels called SPI1 & SPI2 on Nano and SPI0 & SPI1 on Orin Nano & NX. For Orin AGX there is only 1 SPI channel: SPI1. The pins used are given in the following table.

+

This function returns a handle for the SPI device on the channel. Data will be transferred at baud bits per second. The flags may be used to modify the default behaviour of a 4-wire operation, mode 0, active low chip select. There are 2 SPI channels called SPI1 & SPI2 on Nano and SPI0 & SPI1 on Orin Nano & NX. For Orin AGX there is only 1 SPI channel: SPI1 (pins 21, 19...so forth). The pins used are given in the following table.

diff --git a/jetgpio.h b/jetgpio.h index d5b9f90..a77eb54 100644 --- a/jetgpio.h +++ b/jetgpio.h @@ -631,7 +631,7 @@ int spiOpen(unsigned spiChan, unsigned speed, unsigned mode, unsigned cs_delay, /**< * @brief This function returns a handle for the SPI device on the channel. * Data will be transferred at baud bits per second. The flags may be used to modify the default behaviour of a 4-wire operation, mode 0, active low chip select. - * There are 2 SPI channels called SPI1 & SPI2 on Nano and SPI0 & SPI1 on Orin Nano & NX. For Orin AGX there is only 1 SPI channel: SPI1. + * There are 2 SPI channels called SPI1 & SPI2 on Nano and SPI0 & SPI1 on Orin Nano & NX. For Orin AGX there is only 1 SPI channel: SPI1 (pins 21, 19...so forth). * The pins used are given in the following table. * * |Port |MISO |MOSI |SCLK |CS0 |CS1 |
Port MISO MOSI SCLK CS0 CS1