1.35.17.10 TWI_ERROR Enum

C

/* TWI master mode */

typedef enum
{
    /* No Error */
    TWI_ERROR_NONE,
    
    /* Slave returned Nack */
    TWI_ERROR_NACK,
    
} TWI_ERROR;

Summary

Defines the possible errors that the TWI peripheral can generate in master mode.

Description

This enum defines the possible errors the TWI peripheral can generate when it is configured in master mode. An error of this type is returned by the TWIx_ErrorGet() function.

Remarks

None.