1.8.7.48 FLEXCOM_SPI_SLAVE_ERROR Enum

C

/* SPI slave mode */

typedef enum
{
    /* Error status when no error has occurred */
    FLEXCOM_SPI_SLAVE_ERROR_NONE,

    /* Buffer overflow error has occured */
    FLEXCOM_SPI_SLAVE_ERROR_BUFOVF = FLEX_SPI_SR_OVRES_Msk,

} FLEXCOM_SPI_SLAVE_ERROR;

Summary

Defines the enumeration constants associated with the SPI slave mode errors

Description

This may be used to check the type of error occurred. An error of this type is returned by the FLEXCOMx_SPI_ErrorGet() API.

Remarks

None