|
libeasymcp2221 2.0.3
|
Error codes returned by the libeasymcp2221 v2 API. More...
Go to the source code of this file.
Enumerations | |
| enum | mcp2221_error_code_t { MCP2221_ERR_OK = 0 , MCP2221_ERR_USB = -1 , MCP2221_ERR_TIMEOUT = -2 , MCP2221_ERR_NOT_ACK = -3 , MCP2221_ERR_LOW_SCL = -4 , MCP2221_ERR_LOW_SDA = -5 , MCP2221_ERR_INVALID = -6 , MCP2221_ERR_I2C = -7 , MCP2221_ERR_FLASH_WRITE = -8 , MCP2221_ERR_FLASH_PASSWD = -9 , MCP2221_ERR_GPIO_MODE = -10 , MCP2221_ERR_GENERIC = -11 , MCP2221_ERR_I2C_SHORT_READ = -12 , MCP2221_ERR_FLASH_READ = -13 , MCP2221_ERR_NOT_FOUND = -14 , MCP2221_ERR_NO_MEMORY = -15 , MCP2221_ERR_ACCESS = -16 , MCP2221_ERR_BUSY = -17 , MCP2221_ERR_USB_INIT = -18 , MCP2221_ERR_USB_ENUM = -19 , MCP2221_ERR_USB_OPEN = -20 , MCP2221_ERR_USB_CLAIM = -21 , MCP2221_ERR_COMMAND_FAILED = -22 , MCP2221_ERR_PROTOCOL = -23 } |
| Error codes used by libeasymcp2221. More... | |
Error codes returned by the libeasymcp2221 v2 API.
Definition in file mcp2221_error_codes.h.
| enum mcp2221_error_code_t |
Error codes used by libeasymcp2221.
Most public functions return MCP2221_ERR_OK on success or one of the negative values below on failure. The error model is based on the EasyMCP2221 exception hierarchy while providing explicit C return values.
Definition at line 18 of file mcp2221_error_codes.h.