1.2.21.79 1.3.25.79 1.4.21.79 1.5.25.79 1.6.22.79 1.7.23.79 1.9.19.79 1.29.23.79 1.30.18.79 1.31.18.79 1.32.26.79 1.33.16.79 1.37.18.79 1.38.21.79 1.39.18.79 1.40.20.79 SERCOM_I2C_SLAVE_ERROR Enum

C

/* I2C slave mode */

/* Bus Error */
#define SERCOM_I2C_SLAVE_ERROR_BUSERR  SERCOM_I2CS_STATUS_BUSERR_Msk
/* Transmit Collision */
#define SERCOM_I2C_SLAVE_ERROR_COLL SERCOM_I2CS_STATUS_COLL_Msk
/* SCL Low Time-out */
#define SERCOM_I2C_SLAVE_ERROR_LOWTOUT SERCOM_I2CS_STATUS_LOWTOUT_Msk
/* Slave SCL Low Extend Time-Out */
#define SERCOM_I2C_SLAVE_ERROR_SEXTTOUT SERCOM_I2CS_STATUS_SEXTTOUT_Msk
/* Indicates that an error has occurred - Either of the SEXTTOUT, LOWTOUT, COLL, and BUSERR */
#define SERCOM_I2C_SLAVE_ERROR_ALL (SERCOM_I2C_SLAVE_ERROR_BUSERR | SERCOM_I2C_SLAVE_ERROR_COLL ${I2CS_LOWTOUT_ERROR_SUPPORT?then(' | SERCOM_I2C_SLAVE_ERROR_LOWTOUT', '')} ${I2CS_SEXTTOOUT_ERROR_SUPPORT?then(' | SERCOM_I2C_SLAVE_ERROR_SEXTTOUT', '')})

/* SERCOM I2C slave error type */
typedef uint32_t SERCOM_I2C_SLAVE_ERROR;

Summary

Defines macros and typedefs associated with I2C slave error

Description

Defines macros and typedefs associated with I2C slave error. An error of this type is returned by the SERCOMx_I2C_ErrorGet() function

Remarks

All the error flags may not be available on SERCOM of the selected device. Refer the datasheet or the header file of the generated code for the error flags available on the device.