#include <stdio.h>
#include <assert.h>
#include "stb_debug.h"
#include "dsm_debug.h"
 
Go to the source code of this file.
 | 
| 
#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) | 
|   | 
- Date
 - 23/01/2013 
 
- Author
 - Ocean Blue 
 
 
      
        
          | #define DBGPRINT | 
          ( | 
            | 
          t,  | 
        
        
           | 
           | 
            | 
          x,  | 
        
        
           | 
           | 
            | 
          ...  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Value:if (DebugInstanceGetMask(dsmctrl) & t) 
\ void STB_SPDebugWrite(const char *format,...)
Write debug string to serial/debug port. <CR><LF> characters will be automatically added to the end o...