|
API Documentation
9.14.00
|
A SPI_Transaction data structure is used with SPI_transfer(). It indicates how many SPI_FrameFormat frames are sent and received from the buffers pointed to txBuf and rxBuf. The arg variable is an user-definable argument which gets passed to the SPI_CallbackFxn when the SPI driver is in SPI_MODE_CALLBACK. More...
Data Fields | |
| void * | arg |
| size_t | count |
| void * | nextPtr |
| void * | rxBuf |
| SPI_Status | status |
| void * | txBuf |
A SPI_Transaction data structure is used with SPI_transfer(). It indicates how many SPI_FrameFormat frames are sent and received from the buffers pointed to txBuf and rxBuf. The arg variable is an user-definable argument which gets passed to the SPI_CallbackFxn when the SPI driver is in SPI_MODE_CALLBACK.
| void* SPI_Transaction::arg |
Argument to be passed to the callback function
| size_t SPI_Transaction::count |
Number of frames for this transaction
| void* SPI_Transaction::nextPtr |
Field used internally by the driver and must never be accessed by the application.
| void* SPI_Transaction::rxBuf |
void * to a buffer to receive data
| SPI_Status SPI_Transaction::status |
SPI_Status code set by SPI_transfer
| void* SPI_Transaction::txBuf |
void * to a buffer with data to be transmitted
1.8.12