include/nuttx/spi/spi.h: Fix typos in comments
This commit is contained in:
parent
f55a2879ca
commit
616b3e7436
@ -173,7 +173,7 @@
|
|||||||
* Name: SPI_SETBITS
|
* Name: SPI_SETBITS
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* Set the number if bits per word.
|
* Set the number of bits per word.
|
||||||
*
|
*
|
||||||
* Input Parameters:
|
* Input Parameters:
|
||||||
* dev - Device-specific state data
|
* dev - Device-specific state data
|
||||||
@ -290,7 +290,7 @@
|
|||||||
* Name: SPI_CMDDATA
|
* Name: SPI_CMDDATA
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* Some devices require and additional out-of-band bit to specify if the
|
* Some devices require an additional out-of-band bit to specify if the
|
||||||
* next word sent to the device is a command or data. This is typical, for
|
* next word sent to the device is a command or data. This is typical, for
|
||||||
* example, in "9-bit" displays where the 9th bit is the CMD/DATA bit.
|
* example, in "9-bit" displays where the 9th bit is the CMD/DATA bit.
|
||||||
* This function provides selection of command or data.
|
* This function provides selection of command or data.
|
||||||
@ -322,7 +322,7 @@
|
|||||||
*
|
*
|
||||||
* Input Parameters:
|
* Input Parameters:
|
||||||
* dev - Device-specific state data
|
* dev - Device-specific state data
|
||||||
* wd - The word to send. the size of the data is determined by the
|
* wd - The word to send. The size of the data is determined by the
|
||||||
* number of bits selected for the SPI interface.
|
* number of bits selected for the SPI interface.
|
||||||
*
|
*
|
||||||
* Returned Value:
|
* Returned Value:
|
||||||
@ -341,7 +341,7 @@
|
|||||||
* Input Parameters:
|
* Input Parameters:
|
||||||
* dev - Device-specific state data
|
* dev - Device-specific state data
|
||||||
* buffer - A pointer to the buffer of data to be sent
|
* buffer - A pointer to the buffer of data to be sent
|
||||||
* nwords - the length of data to send from the buffer in number of words.
|
* nwords - The length of data to send from the buffer in number of words.
|
||||||
* The wordsize is determined by the number of bits-per-word
|
* The wordsize is determined by the number of bits-per-word
|
||||||
* selected for the SPI interface. If nbits <= 8, the data is
|
* selected for the SPI interface. If nbits <= 8, the data is
|
||||||
* packed into uint8_t's; if nbits >8, the data is packed into
|
* packed into uint8_t's; if nbits >8, the data is packed into
|
||||||
@ -367,7 +367,7 @@
|
|||||||
* Input Parameters:
|
* Input Parameters:
|
||||||
* dev - Device-specific state data
|
* dev - Device-specific state data
|
||||||
* buffer - A pointer to the buffer in which to receive data
|
* buffer - A pointer to the buffer in which to receive data
|
||||||
* nwords - the length of data that can be received in the buffer in number
|
* nwords - The length of data that can be received in the buffer in number
|
||||||
* of words. The wordsize is determined by the number of bits-
|
* of words. The wordsize is determined by the number of bits-
|
||||||
* per-word selected for the SPI interface. If nbits <= 8, the
|
* per-word selected for the SPI interface. If nbits <= 8, the
|
||||||
* data is packed into uint8_t's; if nbits > 8, the data is packed
|
* data is packed into uint8_t's; if nbits > 8, the data is packed
|
||||||
@ -394,8 +394,8 @@
|
|||||||
* dev - Device-specific state data
|
* dev - Device-specific state data
|
||||||
* txbuffer - A pointer to the buffer of data to be sent
|
* txbuffer - A pointer to the buffer of data to be sent
|
||||||
* rxbuffer - A pointer to the buffer in which to receive data
|
* rxbuffer - A pointer to the buffer in which to receive data
|
||||||
* nwords - the length of data that to be exchanged in units of words.
|
* nwords - The length of data to be exchanged in units of words. The
|
||||||
* The wordsize is determined by the number of bits-per-word
|
* wordsize is determined by the number of bits-per-word
|
||||||
* selected for the SPI interface. If nbits <= 8, the data is
|
* selected for the SPI interface. If nbits <= 8, the data is
|
||||||
* packed into uint8_t's; if nbits >8, the data is packed into
|
* packed into uint8_t's; if nbits >8, the data is packed into
|
||||||
* uint16_t's
|
* uint16_t's
|
||||||
@ -413,8 +413,8 @@
|
|||||||
* Name: SPI_REGISTERCALLBACK
|
* Name: SPI_REGISTERCALLBACK
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* Register a callback that that will be invoked on any media status
|
* Register a callback that will be invoked on any media status change
|
||||||
* change (i.e, anything that would be reported differently by SPI_STATUS).
|
* (i.e, anything that would be reported differently by SPI_STATUS).
|
||||||
* Optional
|
* Optional
|
||||||
*
|
*
|
||||||
* Input Parameters:
|
* Input Parameters:
|
||||||
|
Loading…
Reference in New Issue
Block a user