Debug.h

00001 #ifndef _DEBUG_H_
00002 #define _DEBUG_H_
00003 
00004 #include <print.h>
00005 
00006 #ifndef DEBUG_PORT
00007 #define DEBUG_PORT 1
00008 #endif
00009 
00010 #ifdef DEBUG
00011 #define GENDEBUG(fmt, args...) ser_printf(DEBUG_PORT,"Gen: "fmt, ## args)
00012 #else
00013 #define GENDEBUG(fmt, args...)
00014 #endif
00015 
00016 
00017 #ifdef DEBUGIRQ
00018 #define IRQDEBUG(fmt, args...) ser_printf(DEBUG_PORT,"Gen: "fmt, ## args)
00019 #else
00020 #define IRQDEBUG(fmt, args...)
00021 #endif
00022 
00023 #endif //_DEBUG_H_

Generated on Fri Mar 3 17:25:45 2006 for EMAC-HCS12-SDK by  doxygen 1.4.6