691 #ifndef ti_drivers_spi_SPICC26X2DMA__include 692 #define ti_drivers_spi_SPICC26X2DMA__include 705 #include <ti/drivers/dpl/HwiP.h> 706 #include <ti/drivers/dpl/SemaphoreP.h> 707 #include <ti/drivers/dpl/SwiP.h> 740 #define SPICC26X2DMA_CMD_RETURN_PARTIAL_ENABLE (SPI_CMD_RESERVED + 0) 749 #define SPICC26X2DMA_CMD_RETURN_PARTIAL_DISABLE (SPI_CMD_RESERVED + 1) 758 #define SPICC26X2DMA_CMD_SET_CSN_PIN (SPI_CMD_RESERVED + 2) 773 #define SPICC26X2DMA_CMD_SET_MANUAL (SPI_CMD_RESERVED + 3) 784 #define SPICC26X2DMA_CMD_CLR_MANUAL (SPI_CMD_RESERVED + 4) 796 #define SPICC26X2DMA_CMD_MANUAL_START (SPI_CMD_RESERVED + 5) 801 #define SPICC26X2DMA_RETURN_PARTIAL_ENABLE SPICC26X2DMA_CMD_RETURN_PARTIAL_ENABLE 802 #define SPICC26X2DMA_RETURN_PARTIAL_DISABLE SPICC26X2DMA_CMD_RETURN_PARTIAL_DISABLE 803 #define SPICC26X2DMA_SET_CSN_PIN SPICC26X2DMA_CMD_SET_CSN_PIN uint8_t PIN_Id
Pin identifier data type.
Definition: PIN.h:577
Definition: SPICC26X2DMA.h:837
uint16_t defaultTxBufValue
Definition: SPICC26X2DMA.h:924
uint32_t minDmaTransferSize
Definition: SPICC26X2DMA.h:939
PIN_Id csnPin
Definition: SPICC26X2DMA.h:978
PIN_State pinState
Definition: SPICC26X2DMA.h:950
SPI_Transaction * headPtr
Definition: SPICC26X2DMA.h:956
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:584
uint32_t txChannelBitMask
Definition: SPICC26X2DMA.h:928
SPI_Transaction * completedTransfers
Definition: SPICC26X2DMA.h:958
uint32_t bitRate
Definition: SPICC26X2DMA.h:967
uint32_t rxChannelBitMask
Definition: SPICC26X2DMA.h:926
SPI_TransferMode
SPI transfer mode determines the whether the SPI controller operates synchronously or asynchronously...
Definition: SPI.h:620
SPI_Transaction * tailPtr
Definition: SPICC26X2DMA.h:957
UDMACC26XX Global configuration.
Definition: UDMACC26XX.h:231
Power manager interface for CC26XX/CC13XX.
Power_NotifyObj spiPostObj
Definition: SPICC26X2DMA.h:951
uint16_t rxScratchBuf
Definition: SPICC26X2DMA.h:972
uint32_t transferTimeout
Definition: SPICC26X2DMA.h:969
PIN_Id clkPin
Definition: SPICC26X2DMA.h:934
uint32_t activeChannel
Definition: SPICC26X2DMA.h:966
size_t altTransferSize
Definition: SPICC26X2DMA.h:964
SPI_Mode mode
Definition: SPICC26X2DMA.h:976
uint8_t intNum
Definition: SPICC26X2DMA.h:898
SPI_TransferMode transferMode
Definition: SPICC26X2DMA.h:975
const SPI_FxnTable SPICC26X2DMA_fxnTable
Definition: SPICC26X2DMA.h:823
The definition of a SPI function table that contains the required set of functions to control a speci...
Definition: SPI.h:711
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:920
SPICC26X2DMA_ReturnPartial returnPartial
Definition: SPICC26X2DMA.h:979
Device-specific pin & GPIO driver for CC26xx family [def].
size_t framesQueued
Definition: SPICC26X2DMA.h:961
PIN_Handle pinHandle
Definition: SPICC26X2DMA.h:949
SPICC26X2DMA Hardware attributes.
Definition: SPICC26X2DMA.h:894
uint8_t format
Definition: SPICC26X2DMA.h:977
SwiP_Struct swi
Definition: SPICC26X2DMA.h:952
struct SPICC26X2DMA_HWAttrs SPICC26X2DMA_HWAttrs
SPICC26X2DMA Hardware attributes.
UDMACC26XX driver implementation.
uint32_t busyBit
Definition: SPICC26X2DMA.h:970
A SPI_Transaction data structure is used with SPI_transfer(). It indicates how many SPI_FrameFormat f...
Definition: SPI.h:563
Power notify object structure.
Definition: Power.h:443
Definition: SPICC26X2DMA.h:835
SPI_Mode
Definitions for various SPI modes of operation.
Definition: SPI.h:590
UDMACC26XX_Handle udmaHandle
Definition: SPICC26X2DMA.h:959
SemaphoreP_Struct transferComplete
Definition: SPICC26X2DMA.h:953
SPICC26X2DMA_ReturnPartial
Definition: SPICC26X2DMA.h:834
PIN_Id misoPin
Definition: SPICC26X2DMA.h:932
PIN_Id mosiPin
Definition: SPICC26X2DMA.h:930
underlying data structure for type PIN_State
Definition: PIN.h:707
Definition: SPICC26X2DMA.h:824
size_t framesTransferred
Definition: SPICC26X2DMA.h:962
uint16_t txScratchBuf
Definition: SPICC26X2DMA.h:973
SPICC26X2DMA_FrameSize
Definition: SPICC26X2DMA.h:822
size_t priTransferSize
Definition: SPICC26X2DMA.h:963
bool manualStart
Definition: SPICC26X2DMA.h:981
SPI_CallbackFxn transferCallbackFxn
Definition: SPICC26X2DMA.h:955
bool isOpen
Definition: SPICC26X2DMA.h:980
struct SPICC26X2DMA_Object SPICC26X2DMA_Object
SPICC26X2DMA Object.
PowerCC26XX_Resource powerMngrId
Definition: SPICC26X2DMA.h:922
SPICC26X2DMA Object.
Definition: SPICC26X2DMA.h:947
Definition: SPICC26X2DMA.h:836
HwiP_Struct hwi
Definition: SPICC26X2DMA.h:948
uint32_t dataSize
Definition: SPICC26X2DMA.h:968
PIN_Id csnPin
Definition: SPICC26X2DMA.h:936
uint8_t intPriority
SPI CC26XXDMA Peripheral's interrupt priority.
Definition: SPICC26X2DMA.h:913
uint32_t baseAddr
SPI Peripheral's base address.
Definition: SPICC26X2DMA.h:896