Macros

Macros

#define EMAC_STATUS_SUCCESS   0
 Successful status code returned by EMAC_control(). More...
 
#define EMAC_STATUS_ERROR   -1
 Generic error status code returned by EMAC_control(). More...
 
#define EMAC_STATUS_UNDEFINEDCMD   -2
 An error status code returned by EMAC_control() for undefined command codes. More...
 

Detailed Description

EMAC_STATUS_* macros are general status codes returned by EMAC_control()

Macro Definition Documentation

§ EMAC_STATUS_SUCCESS

#define EMAC_STATUS_SUCCESS   0

Successful status code returned by EMAC_control().

EMAC_control() returns EMAC_STATUS_SUCCESS if the control code was executed successfully.

§ EMAC_STATUS_ERROR

#define EMAC_STATUS_ERROR   -1

Generic error status code returned by EMAC_control().

EMAC_control() returns EMAC_STATUS_ERROR if the control code was not executed successfully.

§ EMAC_STATUS_UNDEFINEDCMD

#define EMAC_STATUS_UNDEFINEDCMD   -2

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

EMAC_control() returns EMAC_STATUS_UNDEFINEDCMD if the control code is not recognized by the driver implementation.

Copyright 2017, Texas Instruments Incorporated