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.
-
FW_I2C_TARGET_STAGING_UNAVAILABLE
Hex.: 0x0210, Dec.: 528. The bulk-staging pool could not be acquired for the target arena.
-
FW_I2C_TARGET_SURPASSED_MEMORY_SIZE
Hex.: 0x0211, Dec.: 529. The memory address plus length exceeds the target arena size.
-
FW_I2C_TARGET_PAYLOAD_TRANSFER_FAILED
Hex.: 0x0212, Dec.: 530. The vendor-endpoint payload transfer failed.
-
FW_I2C_TARGET_WRONG_MODEL
Hex.: 0x0213, Dec.: 531. The command is not valid for the active emulation model.
-
FW_I2C_TARGET_INVALID_CONFIG
Hex.: 0x0214, Dec.: 532. The EEPROM or register-region configuration is invalid.
-
FW_I2C_TARGET_REGION_TABLE_FULL
Hex.: 0x0215, Dec.: 533. The register-map region table is full (16-region limit reached).
-
FW_I2C_ROLE_CONFLICT
Hex.: 0x0216, Dec.: 534. The other I2C role owns this bus: a controller was asked to become a target, or the reverse. Distinct from FW_INTERFACE_ALREADY_INITIALIZED, which means the same role is already up. Reset the device to release the role.