Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
|
Global error declarations for use across the Cascoda SDK. More...
#include "ca821x_toolchain.h"
Go to the source code of this file.
Macros | |
#define | ca_static_assert(x) typedef char static_assertion[(x) ? 1 : -1] |
Static assert code. More... | |
Typedefs | |
typedef enum ca_error | ca_error |
Cascoda error type. More... | |
Enumerations | |
enum | ca_error { CA_ERROR_SUCCESS = 0x00 , CA_ERROR_FAIL = 0x01 , CA_ERROR_UNKNOWN = 0x02 , CA_ERROR_INVALID = 0x03 , CA_ERROR_NO_ACCESS = 0x04 , CA_ERROR_INVALID_STATE = 0x05 , CA_ERROR_BUSY = 0x06 , CA_ERROR_INVALID_ARGS = 0x07 , CA_ERROR_NOT_HANDLED = 0x08 , CA_ERROR_NOT_FOUND = 0x09 , CA_ERROR_NO_BUFFER = 0x0A , CA_ERROR_TIMEOUT = 0x0B , CA_ERROR_ALREADY = 0x0C , CA_ERROR_NOT_IMPLEMENTED = 0x0D , CA_ERROR_SPI_WAIT_TIMEOUT = 0xA0 , CA_ERROR_SPI_NACK_TIMEOUT = 0xA1 , CA_ERROR_SPI_SCAN_IN_PROGRESS = 0xA2 , CA_ERROR_SPI_SEND_EXCHANGE_FAIL = 0xA3 } |
Cascoda error type. More... | |
Functions | |
const char * | ca_error_str (ca_error aError) |
Return a string representation of a ca_error. More... | |
Global error declarations for use across the Cascoda SDK.