Macros

Macros

#define AESECB_STATUS_SUCCESS   (0)
 Successful status code. More...
 
#define AESECB_STATUS_ERROR   (-1)
 Generic error status code. More...
 
#define AESECB_STATUS_UNDEFINEDCMD   (-2)
 An error status code returned by AESECB_control() for undefined command codes. More...
 
#define AESECB_STATUS_RESOURCE_UNAVAILABLE   (-3)
 An error status code returned if the hardware or software resource is currently unavailable. More...
 

Detailed Description

AESECB_STATUS_* macros are general status codes returned by AESECB functions

Macro Definition Documentation

§ AESECB_STATUS_SUCCESS

#define AESECB_STATUS_SUCCESS   (0)

Successful status code.

Functions return AESECB_STATUS_SUCCESS if the function was executed successfully.

§ AESECB_STATUS_ERROR

#define AESECB_STATUS_ERROR   (-1)

Generic error status code.

Functions return AESECB_STATUS_ERROR if the function was not executed successfully and no more pertinent error code could be returned.

§ AESECB_STATUS_UNDEFINEDCMD

#define AESECB_STATUS_UNDEFINEDCMD   (-2)

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

AESECB_control() returns AESECB_STATUS_UNDEFINEDCMD if the control code is not recognized by the driver implementation.

§ AESECB_STATUS_RESOURCE_UNAVAILABLE

#define AESECB_STATUS_RESOURCE_UNAVAILABLE   (-3)

An error status code returned if the hardware or software resource is currently unavailable.

AESECB driver implementations may have hardware or software limitations on how many clients can simultaneously perform operations. This status code is returned if the mutual exclusion mechanism signals that an operation cannot currently be performed.

Copyright 2018, Texas Instruments Incorporated