I have just moved a project from TI-RTSO 2.00.01 to 2.10.01.38 and am trying to find out what the two new parameters scratchBufPtr and defaultTxBufValue do in the SPITivaDMA_HWAttrs . I looked in the manuals and cannot find any mention. For my code I just set them both to 0 and it compiled fine and runs. However I'd like to confirm what they should be used for to make sure I haven't introduced any issue for myself.
typedef struct SPITivaDMA_HWAttrs {
/*! SSI Peripheral's base address */
SPIBaseAddrType baseAddr;
/*! SSI TivaDMA Peripheral's interrupt vector */
unsigned int intNum;
/*! Address of a scratch buffer of size uint32_t */
uint32_t *scratchBufPtr;
/*! Default TX value if txBuf == NULL */
uint32_t defaultTxBufValue;
/*! uDMA controlTable channel index */
uint32_t rxChannelIndex;
/*! uDMA controlTable channel index */
uint32_t txChannelIndex;
/*! uDMA mapping function that maps the SPI trigger to the DMA channel */
void (*channelMappingFxn)(SPIDataType);
/*! uDMA MappingFxn arg to map the Tx channel */
uint32_t rxChannelMappingFxnArg;
/*! uDMA MappingFxn arg to map the Rx channel */
uint32_t txChannelMappingFxnArg;
} SPITivaDMA_HWAttrs;