RTEMS: _SpidCmd Struct Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Data Fields
_SpidCmd Struct Reference

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

`#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.

## Field Documentation

## ◆ callback

SpidCallback _SpidCmd::callback

Callback function invoked at the end of transfer.

## ◆ pArgument

void* _SpidCmd::pArgument

Callback arguments.

## ◆ pRxBuff

uint8_t* _SpidCmd::pRxBuff

Pointer to the Rx data.

## ◆ pTxBuff

uint8_t* _SpidCmd::pTxBuff

Pointer to the Tx data.

## ◆ RxSize

uint16_t _SpidCmd::RxSize

Rx size in bytes.

## ◆ spiCs

uint8_t _SpidCmd::spiCs

SPI chip select.

## ◆ TxSize

uint8_t _SpidCmd::TxSize

Tx size in bytes.

The documentation for this struct was generated from the following file:

- bsps/arm/atsam/include/libchip/include/spi_dma.h