Data Fields
SPI_Transaction Struct Reference

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
 

Detailed Description

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.

Field Documentation

§ count

size_t SPI_Transaction::count

Number of frames for this transaction

§ txBuf

void* SPI_Transaction::txBuf

void * to a buffer with data to be transmitted

§ rxBuf

void* SPI_Transaction::rxBuf

void * to a buffer to receive data

§ arg

void* SPI_Transaction::arg

Argument to be passed to the callback function

§ status

SPI_Status SPI_Transaction::status

SPI_Status code set by SPI_transfer

§ nextPtr

void* SPI_Transaction::nextPtr

Field used internally by the driver and must never be accessed by the application.


The documentation for this struct was generated from the following file:
© Copyright 1995-2019, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale