Silicon Labs Host Libraries
CP210x Status Codes - manufacturing

API Status return codes. More...

Macros

#define CP210x_SUCCESS   SILABS_STATUS_SUCCESS
 Success. More...
 
#define CP210x_INVALID_HANDLE   0x01
 an handle parameter was not valid More...
 
#define CP210x_INVALID_PARAMETER   0x02
 a parameter was not valid More...
 
#define CP210x_DEVICE_IO_FAILED   0x03
 device I/O failed More...
 
#define CP210x_FUNCTION_NOT_SUPPORTED   0x04
 the specified function is not supported More...
 
#define CP210x_GLOBAL_DATA_ERROR   0x05
 global data error More...
 
#define CP210x_FILE_ERROR   0x06
 file error More...
 
#define CP210x_COMMAND_FAILED   0x08
 command failed More...
 
#define CP210x_INVALID_ACCESS_TYPE   0x09
 invalid access type More...
 
#define CP210x_DEVICE_NOT_FOUND   0xFF
 the specified device was not found More...
 

Typedefs

typedef int CP210x_STATUS
 CP210x_STATUS. More...
 

Detailed Description

API Status return codes.

Macro Definition Documentation

◆ CP210x_COMMAND_FAILED

#define CP210x_COMMAND_FAILED   0x08

command failed

◆ CP210x_DEVICE_IO_FAILED

#define CP210x_DEVICE_IO_FAILED   0x03

device I/O failed

◆ CP210x_DEVICE_NOT_FOUND

#define CP210x_DEVICE_NOT_FOUND   0xFF

the specified device was not found

◆ CP210x_FILE_ERROR

#define CP210x_FILE_ERROR   0x06

file error

◆ CP210x_FUNCTION_NOT_SUPPORTED

#define CP210x_FUNCTION_NOT_SUPPORTED   0x04

the specified function is not supported

◆ CP210x_GLOBAL_DATA_ERROR

#define CP210x_GLOBAL_DATA_ERROR   0x05

global data error

◆ CP210x_INVALID_ACCESS_TYPE

#define CP210x_INVALID_ACCESS_TYPE   0x09

invalid access type

◆ CP210x_INVALID_HANDLE

#define CP210x_INVALID_HANDLE   0x01

an handle parameter was not valid

◆ CP210x_INVALID_PARAMETER

#define CP210x_INVALID_PARAMETER   0x02

a parameter was not valid

◆ CP210x_SUCCESS

#define CP210x_SUCCESS   SILABS_STATUS_SUCCESS

Success.

Typedef Documentation

◆ CP210x_STATUS

typedef int CP210x_STATUS

CP210x_STATUS.