CMSIS-Driver
Version 2.8.0
Peripheral Interface for Middleware and Application Code
|
Negative values indicate errors (SPI has specific codes in addition to common Status Error Codes). More...
Macros | |
#define | ARM_SPI_ERROR_MODE (ARM_DRIVER_ERROR_SPECIFIC - 1) |
Specified Mode not supported. More... | |
#define | ARM_SPI_ERROR_FRAME_FORMAT (ARM_DRIVER_ERROR_SPECIFIC - 2) |
Specified Frame Format not supported. More... | |
#define | ARM_SPI_ERROR_DATA_BITS (ARM_DRIVER_ERROR_SPECIFIC - 3) |
Specified number of Data bits not supported. More... | |
#define | ARM_SPI_ERROR_BIT_ORDER (ARM_DRIVER_ERROR_SPECIFIC - 4) |
Specified Bit order not supported. More... | |
#define | ARM_SPI_ERROR_SS_MODE (ARM_DRIVER_ERROR_SPECIFIC - 5) |
Specified Slave Select Mode not supported. More... | |
Negative values indicate errors (SPI has specific codes in addition to common Status Error Codes).
The SPI driver has additional status error codes that are listed below. Note that the SPI driver also returns the common Status Error Codes.
#define ARM_SPI_ERROR_MODE (ARM_DRIVER_ERROR_SPECIFIC - 1) |
Specified Mode not supported.
The mode requested with the function ARM_SPI_Control is not supported by this driver.
#define ARM_SPI_ERROR_FRAME_FORMAT (ARM_DRIVER_ERROR_SPECIFIC - 2) |
Specified Frame Format not supported.
The frame format requested with the function ARM_SPI_Control is not supported by this driver.
#define ARM_SPI_ERROR_DATA_BITS (ARM_DRIVER_ERROR_SPECIFIC - 3) |
Specified number of Data bits not supported.
The number of data bits requested with the function ARM_SPI_Control is not supported by this driver.
#define ARM_SPI_ERROR_BIT_ORDER (ARM_DRIVER_ERROR_SPECIFIC - 4) |
Specified Bit order not supported.
The bit order requested with the function ARM_SPI_Control is not supported by this driver.
#define ARM_SPI_ERROR_SS_MODE (ARM_DRIVER_ERROR_SPECIFIC - 5) |
Specified Slave Select Mode not supported.
The slave select mode requested with the function ARM_SPI_Control is not supported by this driver.