Macros
Collaboration diagram for Status Codes:

Macros

#define SPI_STATUS_SUCCESS   (0)
 Successful status code returned by SPI_control(). More...
 
#define SPI_STATUS_ERROR   (-1)
 Generic error status code returned by SPI_control(). More...
 
#define SPI_STATUS_UNDEFINEDCMD   (-2)
 An error status code returned by SPI_control() for undefined command codes. More...
 

Detailed Description

SPI_STATUS_* macros are general status codes returned by SPI_control()

SPIMSP432DMA_STATUS_* macros are command codes only defined in the SPIMSP432DMA.h driver implementation and need to:

Macro Definition Documentation

§ SPI_STATUS_SUCCESS

#define SPI_STATUS_SUCCESS   (0)

Successful status code returned by SPI_control().

This value is returned from SPI_control() if the control code was executed successfully.

§ SPI_STATUS_ERROR

#define SPI_STATUS_ERROR   (-1)

Generic error status code returned by SPI_control().

This value is returned from SPI_control() if the control code was not executed successfully.

§ SPI_STATUS_UNDEFINEDCMD

#define SPI_STATUS_UNDEFINEDCMD   (-2)

An error status code returned by SPI_control() for undefined command codes.

This value is returned from SPI_control() if the control code is not recognized by the driver implementation.

© Copyright 1995-2019, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale