682 #ifndef ti_drivers_spi_SPICC26X2DMA__include 683 #define ti_drivers_spi_SPICC26X2DMA__include 691 #include <ti/drivers/dpl/HwiP.h> 692 #include <ti/drivers/dpl/SemaphoreP.h> 693 #include <ti/drivers/dpl/SwiP.h> 731 #define SPICC26X2DMA_CMD_RETURN_PARTIAL_ENABLE (SPI_CMD_RESERVED + 0) 740 #define SPICC26X2DMA_CMD_RETURN_PARTIAL_DISABLE (SPI_CMD_RESERVED + 1) 753 #define SPICC26X2DMA_CMD_SET_CSN_PIN (SPI_CMD_RESERVED + 2) 764 #define SPICC26X2DMA_CMD_CLEAR_CSN_PIN (SPI_CMD_RESERVED + 3) 779 #define SPICC26X2DMA_CMD_SET_MANUAL (SPI_CMD_RESERVED + 4) 790 #define SPICC26X2DMA_CMD_CLR_MANUAL (SPI_CMD_RESERVED + 5) 802 #define SPICC26X2DMA_CMD_MANUAL_START (SPI_CMD_RESERVED + 6) 807 #define SPICC26X2DMA_RETURN_PARTIAL_ENABLE SPICC26X2DMA_CMD_RETURN_PARTIAL_ENABLE 808 #define SPICC26X2DMA_RETURN_PARTIAL_DISABLE SPICC26X2DMA_CMD_RETURN_PARTIAL_DISABLE 809 #define SPICC26X2DMA_SET_CSN_PIN SPICC26X2DMA_CMD_SET_CSN_PIN Definition: SPICC26X2DMA.h:845
uint_least8_t csnPin
Definition: SPICC26X2DMA.h:1002
uint16_t defaultTxBufValue
Definition: SPICC26X2DMA.h:933
uint32_t minDmaTransferSize
Definition: SPICC26X2DMA.h:964
SPI_Transaction * headPtr
Definition: SPICC26X2DMA.h:980
Serial Peripheral Interface (SPI) Driver Interface.
void(* SPI_CallbackFxn)(SPI_Handle handle, SPI_Transaction *transaction)
The definition of a callback function used by the SPI driver when used in SPI_MODE_CALLBACK.
Definition: SPI.h:592
uint32_t txChannelBitMask
Definition: SPICC26X2DMA.h:937
SPI_Transaction * completedTransfers
Definition: SPICC26X2DMA.h:982
uint32_t bitRate
Definition: SPICC26X2DMA.h:991
uint32_t rxChannelBitMask
Definition: SPICC26X2DMA.h:935
SPI_TransferMode
SPI transfer mode determines the whether the SPI controller operates synchronously or asynchronously...
Definition: SPI.h:629
SPI_Transaction * tailPtr
Definition: SPICC26X2DMA.h:981
uint_least8_t clkPin
Definition: SPICC26X2DMA.h:959
UDMACC26XX Global configuration.
Definition: UDMACC26XX.h:253
Power manager interface for CC26XX/CC13XX.
int32_t rxPinMux
Definition: SPICC26X2DMA.h:949
Power_NotifyObj spiPostObj
Definition: SPICC26X2DMA.h:975
uint16_t rxScratchBuf
Definition: SPICC26X2DMA.h:996
uint32_t transferTimeout
Definition: SPICC26X2DMA.h:993
volatile tDMAControlTable * dmaTxTableEntryAlt
Definition: SPICC26X2DMA.h:943
uint32_t activeChannel
Definition: SPICC26X2DMA.h:990
volatile tDMAControlTable * dmaRxTableEntryAlt
Definition: SPICC26X2DMA.h:945
size_t altTransferSize
Definition: SPICC26X2DMA.h:988
SPI_Mode mode
Definition: SPICC26X2DMA.h:1000
uint8_t intNum
Definition: SPICC26X2DMA.h:907
SPI_TransferMode transferMode
Definition: SPICC26X2DMA.h:999
const SPI_FxnTable SPICC26X2DMA_fxnTable
Definition: SPICC26X2DMA.h:830
The definition of a SPI function table that contains the required set of functions to control a speci...
Definition: SPI.h:718
uint32_t swiPriority
SPI SWI priority. The higher the number, the higher the priority. The minimum is 0 and the maximum is...
Definition: SPICC26X2DMA.h:929
SPICC26X2DMA_ReturnPartial returnPartial
Definition: SPICC26X2DMA.h:1003
size_t framesQueued
Definition: SPICC26X2DMA.h:985
SPICC26X2DMA Hardware attributes.
Definition: SPICC26X2DMA.h:902
uint8_t format
Definition: SPICC26X2DMA.h:1001
SwiP_Struct swi
Definition: SPICC26X2DMA.h:976
volatile tDMAControlTable * dmaRxTableEntryPri
Definition: SPICC26X2DMA.h:941
volatile tDMAControlTable * dmaTxTableEntryPri
Definition: SPICC26X2DMA.h:939
UDMACC26XX driver implementation.
uint32_t busyBit
Definition: SPICC26X2DMA.h:994
A SPI_Transaction data structure is used with SPI_transfer(). It indicates how many SPI_FrameFormat f...
Definition: SPI.h:570
Power notify object structure.
Definition: Power.h:442
Definition: SPICC26X2DMA.h:843
SPI_Mode
Definitions for various SPI modes of operation.
Definition: SPI.h:597
uint_least8_t pociPin
Definition: SPICC26X2DMA.h:957
UDMACC26XX_Handle udmaHandle
Definition: SPICC26X2DMA.h:983
SemaphoreP_Struct transferComplete
Definition: SPICC26X2DMA.h:977
SPICC26X2DMA_ReturnPartial
Definition: SPICC26X2DMA.h:841
int32_t clkPinMux
Definition: SPICC26X2DMA.h:951
uint_least8_t csnPin
Definition: SPICC26X2DMA.h:961
Definition: SPICC26X2DMA.h:831
size_t framesTransferred
Definition: SPICC26X2DMA.h:986
uint16_t txScratchBuf
Definition: SPICC26X2DMA.h:997
uint_least8_t picoPin
Definition: SPICC26X2DMA.h:955
SPICC26X2DMA_FrameSize
Definition: SPICC26X2DMA.h:828
int32_t csnPinMux
Definition: SPICC26X2DMA.h:953
size_t priTransferSize
Definition: SPICC26X2DMA.h:987
int32_t txPinMux
Definition: SPICC26X2DMA.h:947
bool manualStart
Definition: SPICC26X2DMA.h:1005
SPI_CallbackFxn transferCallbackFxn
Definition: SPICC26X2DMA.h:979
bool isOpen
Definition: SPICC26X2DMA.h:1004
PowerCC26XX_Resource powerMngrId
Definition: SPICC26X2DMA.h:931
SPICC26X2DMA Object.
Definition: SPICC26X2DMA.h:972
Definition: SPICC26X2DMA.h:844
HwiP_Struct hwi
Definition: SPICC26X2DMA.h:974
uint32_t dataSize
Definition: SPICC26X2DMA.h:992
uint8_t intPriority
SPI CC26XXDMA Peripheral's interrupt priority.
Definition: SPICC26X2DMA.h:922
uint32_t baseAddr
SPI Peripheral's base address.
Definition: SPICC26X2DMA.h:905