CC26xx Driver Library
spi.c File Reference
#include "spi.h"

Functions

void SPIConfigSetExpClk (uint32_t ui32Base, uint32_t ui32SPIClk, uint32_t ui32Protocol, uint32_t ui32Mode, uint32_t ui32BitRate, uint32_t ui32DataWidth)
 Configures the serial peripheral port. More...
 
int32_t SPIDataPutNonBlocking (uint32_t ui32Base, uint32_t ui32Data)
 Puts a data element into the SPI transmit FIFO. More...
 
void SPIDataPut (uint32_t ui32Base, uint32_t ui32Data)
 Puts a data element into the SPI transmit FIFO. More...
 
void SPIDataGet (uint32_t ui32Base, uint32_t *pui32Data)
 Gets a data element from the SPI receive FIFO. More...
 
int32_t SPIDataGetNonBlocking (uint32_t ui32Base, uint32_t *pui32Data)
 Gets a data element from the SPI receive FIFO. More...
 
void SPIIntRegister (uint32_t ui32Base, void(*pfnHandler)(void))
 Registers an interrupt handler for the Serial Peripheral Interface in the dynamic interrupt table. More...
 
void SPIIntUnregister (uint32_t ui32Base)
 Unregisters an interrupt handler for the Serial Peripheral Interface in the dynamic interrupt table. More...