Jump to main content

##

# 2.112.45 I2C_SMB_HOST_ERROR Macros

## C

    /* I2C SMBUS Host mode */

    /* No Error */
    #define I2C_SMB_HOST_ERROR_NONE 0U

    /* Slave returned Nack */
    #define I2C_SMB_HOST_ERROR_NACK 1U

    /* Bus Collision Error */
    #define I2C_SMB_HOST_ERROR_BUS_COLLISION 2U

    /* Bus Arbitration lost Error */
    #define I2C_SMB_HOST_ERROR_ARBITRATION_LOST 4U

    /* Timeout related Error */
    #define I2C_SMB_HOST_ERROR_TIMEOUT 8U

    /* PEC Error */
    #define I2C_SMB_HOST_ERROR_PEC 16U

    typedef uint32_t I2C_SMB_HOST_ERROR;

## Summary

Defines macros associated with I2C error in SMBUS Host mode

## Description

Defines macros associated with I2C error in SMBUS Host mode. An error of this type is returned by the I2CSMBx_HostErrorGet() function

## Remarks

None.