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...
#include <SPI.h>
Data Fields | |
size_t | count |
void * | txBuf |
void * | rxBuf |
void * | arg |
SPI_Status | status |
void * | nextPtr |
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.
size_t SPI_Transaction_::count |
Number of frames for this transaction
void* SPI_Transaction_::txBuf |
void * to a buffer with data to be transmitted
void* SPI_Transaction_::rxBuf |
void * to a buffer to receive data
void* SPI_Transaction_::arg |
Argument to be passed to the callback function
SPI_Status SPI_Transaction_::status |
Status code set by SPI_transfer
void* SPI_Transaction_::nextPtr |
Field used internally by the driver and must never be accessed by the application.