MLC interface driver
Utils for simple debug messaging to CIO of CCS.

Macros

#define DEBUG_LEVEL_NONE   0
 
#define DEBUG_LEVEL_ERR   1
 
#define DEBUG_LEVEL_WRN   2
 
#define DEBUG_LEVEL_INFO   3
 
#define DBG_ERR_PUTS(str)   puts(str)
 
#define DBG_WRN_PUTS(str)   ;
 
#define DBG_INFO_PUTS(str)   ;
 
#define DEBUG_LEVEL   DEBUG_LEVEL_ERR
 

Detailed Description

They will output string passed as parameter to CCSs console. These macros depends on <stdio.h> and they have a BIG overhead together with big memory footprint ! They also work only in debug mode and uses one breakpoint. Use at your own risk.

Macro Definition Documentation

#define DBG_ERR_PUTS (   str)    puts(str)

Send error str to CCS CIO. Requires <stdio.h> to be included.

Definition at line 791 of file MLC_drv.h.

#define DBG_INFO_PUTS (   str)    ;

Send info str to CCS CIO. Requires <stdio.h> to be included.

Definition at line 793 of file MLC_drv.h.

Referenced by MLC_init().

#define DBG_WRN_PUTS (   str)    ;

Send warning str to CCS CIO. Requires <stdio.h> to be included.

Definition at line 792 of file MLC_drv.h.

#define DEBUG_LEVEL   DEBUG_LEVEL_ERR

Sets desired debug level.

Definition at line 119 of file MLC_drv_config.h.

#define DEBUG_LEVEL_ERR   1

Constant defining that debug output will print error messages only.

Definition at line 774 of file MLC_drv.h.

#define DEBUG_LEVEL_INFO   3

Constant defining that debug output will print all messages.

Definition at line 776 of file MLC_drv.h.

#define DEBUG_LEVEL_NONE   0

Constant defining that debug output will not print any messages.

Definition at line 773 of file MLC_drv.h.

#define DEBUG_LEVEL_WRN   2

Constant defining that debug output will print error and warning messages.

Definition at line 775 of file MLC_drv.h.