SAMV71 Xplained Ultra Software Package 1.4

SpidCmd Struct Reference

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

#include <D:/git/git_canopus_1/softpack/samv7/libraries/libchip_samv7/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 103 of file spi_dma.h.

Callback arguments.

Definition at line 105 of file spi_dma.h.

uint8_t* SpidCmd::pRxBuff

Pointer to the Rx data.

Definition at line 97 of file spi_dma.h.

uint8_t* SpidCmd::pTxBuff

Pointer to the Tx data.

Definition at line 93 of file spi_dma.h.

uint16_t SpidCmd::RxSize

Rx size in bytes.

Definition at line 99 of file spi_dma.h.

uint8_t SpidCmd::spiCs

SPI chip select.

Definition at line 101 of file spi_dma.h.

uint8_t SpidCmd::TxSize

Tx size in bytes.

Definition at line 95 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