Refresh modules; trival change to comments in header file

This commit is contained in:
Gregory Nutt 2015-08-09 09:48:00 -06:00
parent 0db86bc509
commit 7317f3bd88
3 changed files with 14 additions and 8 deletions

2
arch

@ -1 +1 @@
Subproject commit 23ecc0e19048944ea5391ea72b0c1d2851a66e16
Subproject commit b1a50470634cf0b876af4380c42427d53aaceb06

@ -1 +1 @@
Subproject commit abab21dfa553656a0ce40423931a2af2c61f3466
Subproject commit ac4035687c824bb4a573e06feb017cb4f3ce7626

View File

@ -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;