Jump to main content

##

# 2.114.28 SPI_SLAVE_ERROR Macros and Typedefs

## C

    /* SPI slave mode */

    /* Error status when no error has occurred */
    #define SPI_SLAVE_ERROR_NONE 0U

    /* Buffer overflow error has occured */
    #define SPI_SLAVE_ERROR_BUFOVF SERCOM_SPIS_STATUS_BUFOVF_Msk

    typedef uint32_t SPI_SLAVE_ERROR;

## Summary

Defines the macros and typedef associated with SPI slave mode errors

## Description

Defines the macros and typedef associated with SPI slave mode errors. An error of this type is returned by the SERCOMx_SPI_ErrorGet() API.

## Remarks

None