|
API Documentation
9.14.00
|
Macros | |
| #define | I2C_STATUS_ADDR_NACK (-5) |
| I2C target address not acknowledged. | |
| #define | I2C_STATUS_ARB_LOST (-7) |
| I2C multi-controller arbitration lost. | |
| #define | I2C_STATUS_BUS_BUSY (-9) |
| I2C bus already in use by another controller. The I2C transaction was therefore unable to start. | |
| #define | I2C_STATUS_CANCEL (-10) |
| I2C transaction canceled by I2C_cancel() | |
| #define | I2C_STATUS_CLOCK_TIMEOUT (-4) |
| I2C serial clock line timeout. | |
| #define | I2C_STATUS_DATA_NACK (-6) |
| I2C data byte not acknowledged. | |
| #define | I2C_STATUS_ERROR (-1) |
| Generic error status code returned by I2C API. | |
| #define | I2C_STATUS_INCOMPLETE (-8) |
| I2C transaction is in progress or returned without completing. | |
| #define | I2C_STATUS_INVALID_TRANS (-11) |
| I2C transaction is invalid. This may occur if: More... | |
| #define | I2C_STATUS_QUEUED (1) |
| I2C transaction is queued but has not started. | |
| #define | I2C_STATUS_SUCCESS (0) |
| Successful status code returned by I2C API. | |
| #define | I2C_STATUS_TIMEOUT (-3) |
| I2C operation timed-out. | |
| #define | I2C_STATUS_UNDEFINEDCMD (-2) |
| An error status code returned by I2C_control() for undefined command codes. | |
These macros are reservations for I2C.h
| #define I2C_STATUS_INVALID_TRANS (-11) |
I2C transaction is invalid. This may occur if:
1.8.12