DSMCC  17.9.0
 All Data Structures Files Functions Typedefs
Macros | Functions
dm_debug.h File Reference
#include <stdio.h>
#include <assert.h>
#include "stb_debug.h"
#include "dsm_debug.h"

Go to the source code of this file.

Macros

#define ASSERT(condition)   assert(condition);
 
#define DBG_ErrorPrintf   (F_Printf)NULL
 
#define DBG_WarnPrintf   (F_Printf)NULL
 
#define DBG_DebugPrintf   (F_Printf)NULL
 
#define DBG_InfoPrintf   (F_Printf)NULL
 
#define ERRPRINT(x,...)   STB_SPDebugWrite( "%s:%d " x, __FUNCTION__, __LINE__, ##__VA_ARGS__);
 
#define DBGPRINT(t, x,...)
 
#define FUNCTION_START(x)
 
#define FUNCTION_FINISH(x)
 

Functions

U32BIT DebugInstanceGetMask (H_DsmControl dsmctrl)
 

Detailed Description

Date
23/01/2013
Author
Ocean Blue

Definition in file dm_debug.h.

Macro Definition Documentation

#define DBGPRINT (   t,
  x,
  ... 
)
Value:
if (DebugInstanceGetMask(dsmctrl) & t) \
STB_SPDebugWrite( "%s:%d " x, __FUNCTION__, __LINE__, ##__VA_ARGS__);
void STB_SPDebugWrite(const char *format,...)
Write debug string to serial/debug port. <CR><LF> characters will be automatically added to the end o...

Definition at line 64 of file dm_debug.h.