Macros | Functions
debug.h File Reference

This file contains the debug utility macros and prototypes. More...

Macros

#define ASSERT(expr)
 The ASSERT macro, which does the actual assertion checking. Typically, this will be for procedure arguments.
 

Functions

void __error__ (char *pcFilename, unsigned int ulLine)
 Print the status. More...
 

Detailed Description

This file contains the debug utility macros and prototypes.

Function Documentation

void __error__ ( char *  pcFilename,
unsigned int  ulLine 
)

Print the status.

The input to the below macro are the macros which are defined above. For e.g. usage of PRINT_STATUS() will be PRINT_STATUS(E_FAIL) or PRINT_STATUS(S_PASS) Prototype for the function that is called when an invalid argument is passed to an API. This is only used when doing a DEBUG build.


Copyright 2016, Texas Instruments Incorporated