|
API Documentation
3.02.02.00
|
Macros | |
| #define | SPICC26XXDMA_CMD_RETURN_PARTIAL_DISABLE (SPI_CMD_RESERVED + 1) |
| Command used by SPI_control to disable partial return. More... | |
| #define | SPICC26XXDMA_CMD_RETURN_PARTIAL_ENABLE (SPI_CMD_RESERVED + 0) |
| Command used by SPI_control to enable 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... | |
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_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 command arg is don't care and it returns SPI_STATUS_SUCCESS.
| #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 the master de-asserts the CS line before the expected number of frames were received. This command arg is of type don't care and it returns SPI_STATUS_SUCCESS or SPI_STATUS_ERROR.
| #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
1.8.12