[rtems commit] atsam: Fix SC16IS752 documentation

Sebastian Huber sebh at rtems.org
Mon Jan 16 12:14:06 UTC 2017


Module:    rtems
Branch:    master
Commit:    2a583a00798e3c5e7bf2fb75f435b70542b19d50
Changeset: http://git.rtems.org/rtems/commit/?id=2a583a00798e3c5e7bf2fb75f435b70542b19d50

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Jan 16 13:13:36 2017 +0100

atsam: Fix SC16IS752 documentation

---

 c/src/lib/libbsp/arm/atsam/include/sc16is752.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/c/src/lib/libbsp/arm/atsam/include/sc16is752.h b/c/src/lib/libbsp/arm/atsam/include/sc16is752.h
index 31f9660..35d298a 100644
--- a/c/src/lib/libbsp/arm/atsam/include/sc16is752.h
+++ b/c/src/lib/libbsp/arm/atsam/include/sc16is752.h
@@ -42,7 +42,8 @@ typedef struct {
  * @param[in] input_frequency The input frequency in Hertz of the SC16IS752
  *   chip.  See XTAL1 and XTAL2 pins.
  * @param[in] spi_path The SPI bus device path.
- * @param[in] spi_chip_select The SPI chip select (starts with 1, not 0).
+ * @param[in] spi_chip_select The SPI chip select (starts with 0, the SPI
+ *   driver uses SPI_ChipSelect(1 << spi_chip_select)).
  * @param[in] spi_speed_hz The SPI bus speed in Hertz.
  * @param[in] irq_pin The interrupt pin, e.g. { PIO_PD28, PIOD, ID_PIOD,
  *   PIO_INPUT, PIO_IT_LOW_LEVEL }.



More information about the vc mailing list