CROSS Technical Documentation User Manual and Technical Doc.
INFN Milano Bicocca
Loading...
Searching...
No Matches

◆ Status_Error_Codes_I2C

int8_t Status_Error_Codes_I2C

Macros.

  • ARM_DRIVER_OK 0 Operation succeeded.
  • ARM_DRIVER_ERROR -1 Unspecified error.
  • ARM_DRIVER_ERROR_BUSY -2 Driver is busy.
  • ARM_DRIVER_ERROR_TIMEOUT -3 Timeout occurred.
  • ARM_DRIVER_ERROR_UNSUPPORTED -4 Operation not supported.
  • ARM_DRIVER_ERROR_PARAMETER -5 Parameter error.
  • ARM_DRIVER_ERROR_SPECIFIC -6 Start of driver specific errors.

Description Negative return values of functions indicate errors occurred during execution.

Most functions return a status information using negative return values. The following list provides the status error codes that are common in all drivers. The drivers may return also status error codes that are specific to the peripheral.

Definition at line 298 of file I2C_0.c.