From 7317f3bd88f0239096911ec0e3a473ba8ba9c93f Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 9 Aug 2015 09:48:00 -0600 Subject: [PATCH] Refresh modules; trival change to comments in header file --- arch | 2 +- configs | 2 +- include/nuttx/spi/slave.h | 18 ++++++++++++------ 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/arch b/arch index 23ecc0e190..b1a5047063 160000 --- a/arch +++ b/arch @@ -1 +1 @@ -Subproject commit 23ecc0e19048944ea5391ea72b0c1d2851a66e16 +Subproject commit b1a50470634cf0b876af4380c42427d53aaceb06 diff --git a/configs b/configs index abab21dfa5..ac4035687c 160000 --- a/configs +++ b/configs @@ -1 +1 @@ -Subproject commit abab21dfa553656a0ce40423931a2af2c61f3466 +Subproject commit ac4035687c824bb4a573e06feb017cb4f3ce7626 diff --git a/include/nuttx/spi/slave.h b/include/nuttx/spi/slave.h index 43d79c825c..8a84586d5f 100644 --- a/include/nuttx/spi/slave.h +++ b/include/nuttx/spi/slave.h @@ -292,7 +292,7 @@ enum spi_smode_e SPISLAVE_MODE3 /* CPOL=1 CHPHA=1 */ }; -/* The SPI slave vtable */ +/* The SPI slave controller driver vtable */ struct spi_sctrlr_s; struct spi_sdev_s; @@ -304,10 +304,10 @@ struct spi_slaveops_s CODE void (*setdata)(FAR struct spi_sctrlr_s *sctrlr, uint16_t data); }; -/* SPI private data. This structure only defines the initial fields of the - * structure visible to the SPI device driver. The specific implementation - * may add additional, device specific fields after the vtable structure - * pointer +/* SPI slave controller private data. This structure only defines the + * initial fields of the structure visible to the SPI device driver. The + * specific implementation may add additional, device specific fields after + * the vtable structure pointer. */ struct spi_sctrlr_s @@ -317,7 +317,7 @@ struct spi_sctrlr_s /* Private SPI slave controller driver data may follow */ }; -/* The SPI slave vtable */ +/* The SPI slave device driver vtable */ struct spi_sdevops_s { @@ -327,6 +327,12 @@ struct spi_sdevops_s CODE uint16_t (*exchange)(FAR struct spi_sdev_s *sdev), uint16_t cmd); }; +/* SPI slave device private data. This structure only defines the initial + * fields of the structure visible to the SPI slave controller driver. The + * specific implementation may add additional, device specific fields after + * the vtable structure pointer. + */ + struct spi_sdev_s { FAR const struct spi_sdevops_s *ops;