TI-RTOS Drivers  tidrivers_full_2_20_00_08
Macros
Collaboration diagram for Status Codes:

Macros

#define NVSTiva_STATUS_ECOPYBLOCK   (NVS_STATUS_RESERVED - 0)
 Alignment error returned by NVSTiva_control(). More...
 
#define NVS_STATUS_SUCCESS   0
 Successful status code returned by NVS_control(). More...
 
#define NVS_STATUS_ERROR   -1
 Generic error status code returned by NVS_control(). More...
 
#define NVS_STATUS_UNDEFINEDCMD   -2
 An error status code returned by NVS_control() for undefined command codes. More...
 

Detailed Description

NVS_STATUS_* macros are general status codes returned by NVS_control()

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

Macro Definition Documentation

#define NVSTiva_STATUS_ECOPYBLOCK   (NVS_STATUS_RESERVED - 0)

Alignment error returned by NVSTiva_control().

This error is returned if the copy block passed to NVSTiva_control() is not aligned on a 4-byte boundary, or is NULL.

See also
NVSTiva_HWAttrs
#define NVS_STATUS_SUCCESS   0

Successful status code returned by NVS_control().

NVS_control() returns NVS_STATUS_SUCCESS if the control code was executed successfully.

#define NVS_STATUS_ERROR   -1

Generic error status code returned by NVS_control().

NVS_control() returns NVS_STATUS_ERROR if the control code was not executed successfully.

#define NVS_STATUS_UNDEFINEDCMD   -2

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

NVS_control() returns NVS_STATUS_UNDEFINEDCMD if the control code is not recognized by the driver implementation.

Copyright 2016, Texas Instruments Incorporated