SAMV71 Xplained Ultra Software Package 1.5

SpidCmd Struct Reference

Spi Transfer Request prepared by the application upper layer. More...

#include <D:/git/git_canopus_1/softpack/samv7/toolkits/mdk_v71/ARM/examples/Atmel/SAMV71_Xplained_Ultra/libraries/libchip/include/spi_dma.h>

Data Fields

uint8_t * pTxBuff
uint8_t TxSize
uint8_t * pRxBuff
uint16_t RxSize
uint8_t spiCs
SpidCallback callback
void * pArgument

Detailed Description

Spi Transfer Request prepared by the application upper layer.

This structure is sent to the SPI_SendCommand function to start the transfer. At the end of the transfer, the callback is invoked by the interrupt handler.

Definition at line 90 of file spi_dma.h.


Field Documentation

Callback function invoked at the end of transfer.

Definition at line 102 of file spi_dma.h.

Callback arguments.

Definition at line 104 of file spi_dma.h.

uint8_t* SpidCmd::pRxBuff

Pointer to the Rx data.

Definition at line 96 of file spi_dma.h.

uint8_t* SpidCmd::pTxBuff

Pointer to the Tx data.

Definition at line 92 of file spi_dma.h.

uint16_t SpidCmd::RxSize

Rx size in bytes.

Definition at line 98 of file spi_dma.h.

uint8_t SpidCmd::spiCs

SPI chip select.

Definition at line 100 of file spi_dma.h.

uint8_t SpidCmd::TxSize

Tx size in bytes.

Definition at line 94 of file spi_dma.h.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines