I2C Result Codes

This page aggregates all I2C-related result codes returned by functions and methods from the C and C++ APIs.

FW_I2C_PULLUP_RESISTOR_SETTING_FAILURE

Hex.: 0x0201, Dec.: 513. The pull-up resistor setting failed.

FW_I2C_ARBITRATION_LOST

Hex.: 0x0202, Dec.: 514. The arbitration was lost during an I2C transfer.

FW_I2C_NACK_ADDRESS

Hex.: 0x0203, Dec.: 515. The address was not acknowledged by the target device.

FW_I2C_NACK_BYTE

Hex.: 0x0204, Dec.: 516. The last data byte was not acknowledged by the target device.

FW_I2C_BIT_ERROR

Hex.: 0x0205, Dec.: 517. A bit error occurred during an I2C transfer.

FW_I2C_START_STOP_ERROR

Hex.: 0x0206, Dec.: 518. The start or stop condition was not properly generated during an I2C transfer.

FW_I2C_BUSY

Hex.: 0x0207, Dec.: 519. The I2C bus is busy and the a new transfer request cannot be started.

FW_I2C_TIMEOUT_CONTINUE_TRANSFER

Hex.: 0x0208, Dec.: 520. The timeout occurred while continuing an I2C transfer.

FW_I2C_TIMEOUT_WAITING_BUS_EVENT

Hex.: 0x0209, Dec.: 521. The timeout occurred while waiting for a bus event.

FW_I2C_TIMEOUT_SCL_LOW

Hex.: 0x020A, Dec.: 522. The SCL line was low for too long during an I2C transfer.

FW_I2C_DMA_REQUEST_FAIL

Hex.: 0x020B, Dec.: 523. The DMA request failed.

FW_I2C_INVALID_PARAMETER

Hex.: 0x020C, Dec.: 524. The parameter is invalid for the I2C operation.

FW_I2C_NO_TRANSFER_IN_PROGRESS

Hex.: 0x020D, Dec.: 525. No transfer is in progress.

FW_I2C_UNEXPECTED_STATE

Hex.: 0x020E, Dec.: 526. The I2C state is unexpected.

FW_I2C_BUS_WITH_NO_TARGETS_CONNECTED

Hex.: 0x020F, Dec.: 527. The I2C bus has no targets connected. Returned when the I2C SCAN BUS command does not discover any static address.