NetBurner 3.5.8
PDF Version

DSPI DMA structure. More...

#include <dspi.h>

Public Attributes

bool enabled
 Whether or not the driver is using DMA for the transfer.
uint8_t byteCount
 The bytes transferred per DMA call.
bool rxPresent
 Is a receive buffer present?
bool txPresent
 Is a transmit buffer present?
dspistruct savedDSPI
 
bool csState
 
uint8_t bytesLastRead
 
bool isThereExtraRxBytes
 
DmaCh * rxDma
 
DmaCh * txDma
 
LPSPI_Type savedSPI
 
bool isPcsContinuous
 
uint32_t extraBytesTCR
 Used to write SPI TCR via DMA for extra 1 or 2 data byte transfer. Used to de-assert CS if DEASSERT_AFTER_LAST.
uint32_t extraThirdByteTCR
 Used to write SPI TCR via DMA for extra 3rd data byte transfer. Used to de-assert CS if DEASSERT_AFTER_LAST.
uint32_t pcsTCR
 Used to write SPI TCR via DMA to to de-assert CS if DEASSERT_AFTER_LAST at the end of the transfer.
DmaTcd softwareTCD [6]
 SoftwareTCD, used for scatter/gather to de-assert CS, internally used.

Detailed Description

DSPI DMA structure.


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