TI-RTOS for SimpleLink Wireless MCUs
2.14.02.22
|
SPITivaDMA Hardware attributes. More...
#include <SPITivaDMA.h>
Data Fields | |
SPIBaseAddrType | baseAddr |
unsigned int | intNum |
uint32_t | intPriority |
uint32_t * | scratchBufPtr |
uint32_t | defaultTxBufValue |
uint32_t | rxChannelIndex |
uint32_t | txChannelIndex |
void(* | channelMappingFxn )(SPIDataType) |
uint32_t | rxChannelMappingFxnArg |
uint32_t | txChannelMappingFxnArg |
SPITivaDMA Hardware attributes.
These fields are used by driverlib APIs and therefore must be populated by driverlib macro definitions. For TivaWare these definitions are found in:
A sample structure is shown below:
SPIBaseAddrType SPITivaDMA_HWAttrs::baseAddr |
SSI Peripheral's base address
unsigned int SPITivaDMA_HWAttrs::intNum |
SSI TivaDMA Peripheral's interrupt vector
uint32_t SPITivaDMA_HWAttrs::intPriority |
SPITivaDMA Peripheral's interrupt priority
uint32_t* SPITivaDMA_HWAttrs::scratchBufPtr |
Address of a scratch buffer of size uint32_t
uint32_t SPITivaDMA_HWAttrs::defaultTxBufValue |
Default TX value if txBuf == NULL
uint32_t SPITivaDMA_HWAttrs::rxChannelIndex |
uDMA controlTable channel index
uint32_t SPITivaDMA_HWAttrs::txChannelIndex |
uDMA controlTable channel index
void(* SPITivaDMA_HWAttrs::channelMappingFxn) (SPIDataType) |
uDMA mapping function that maps the SPI trigger to the DMA channel
uint32_t SPITivaDMA_HWAttrs::rxChannelMappingFxnArg |
uDMA MappingFxn arg to map the Tx channel
uint32_t SPITivaDMA_HWAttrs::txChannelMappingFxnArg |
uDMA MappingFxn arg to map the Rx channel