TI-RTOS Drivers
tidrivers_cc13xx_cc26xx_2_20_00_08
|
Macros | |
#define | SPICC26XXDMA_CMD_RETURN_PARTIAL_ENABLE SPI_CMD_RESERVED + 0 |
Command used by SPI_control to enable partial return. More... | |
#define | SPICC26XXDMA_CMD_RETURN_PARTIAL_DISABLE SPI_CMD_RESERVED + 1 |
Command used by SPI_control to disable partial return. More... | |
#define | SPICC26XXDMA_CMD_SET_CSN_PIN SPI_CMD_RESERVED + 2 |
Command used by SPI_control to re-configure chip select pin. More... | |
#define | SPICC26XXDMA_CMD_SET_CSN_WAKEUP SPI_CMD_RESERVED + 3 |
Command used by SPI_control to re-configure a wakeup pin. More... | |
SPI_CMD_* macros are general command codes for SPI_control(). Not all SPI driver implementations support these command codes.
SPICC26XXDMA_CMD_* macros are command codes only defined in the SPICC26XXDMA.h driver implementation and need to:
#define SPICC26XXDMA_CMD_RETURN_PARTIAL_ENABLE SPI_CMD_RESERVED + 0 |
Command used by SPI_control to enable partial return.
Enabling this command allows SPI_transfer to return partial data if data reception is inactive for a given 32-bit period. With this command arg is don't care and it returns SPI_STATUS_SUCCESS.
#define SPICC26XXDMA_CMD_RETURN_PARTIAL_DISABLE SPI_CMD_RESERVED + 1 |
Command used by SPI_control to disable partial return.
Disabling this command returns the SPICC26XXDMA to the default blocking behavior where SPI_transfer blocks until all data bytes were received. With this comand arg is don't care and it returns SPI_STATUS_SUCCESS.
#define SPICC26XXDMA_CMD_SET_CSN_PIN SPI_CMD_RESERVED + 2 |
Command used by SPI_control to re-configure chip select pin.
This command specifies a chip select pin With this command arg is of type PIN_Id
and it return SPI_STATUS_SUCCESS
#define SPICC26XXDMA_CMD_SET_CSN_WAKEUP SPI_CMD_RESERVED + 3 |
Command used by SPI_control to re-configure a wakeup pin.
This command specifies a wakeup pin With this command arg is of type SPICC26XXDMA_CallbackFxn
and it return SPI_STATUS_SUCCESS