summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-01-16 13:13:36 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-01-16 13:13:36 +0100
commit2a583a00798e3c5e7bf2fb75f435b70542b19d50 (patch)
tree805bb3e2b7cc567b5c927d963411e837500da912
parentcb2cbecefdc124b010aa9d8714856332e3e3a759 (diff)
downloadrtems-2a583a00798e3c5e7bf2fb75f435b70542b19d50.tar.bz2
atsam: Fix SC16IS752 documentation
-rw-r--r--c/src/lib/libbsp/arm/atsam/include/sc16is752.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/arm/atsam/include/sc16is752.h b/c/src/lib/libbsp/arm/atsam/include/sc16is752.h
index 31f96609f6..35d298a7ed 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 }.