


#ifndef SERIAL_DEBUG_IRQ_H
#define SERIAL_DEBUG_IRQ_H

#ifdef __cplusplus
extern "C"
{
#endif

  
  
// SERIAL_DEBUG macros
#if (defined SERIAL_DEBUG) && (SERIAL_DEBUG  == TRUE)
#define SERIAL_DEBUG_PRINT(str)                       serial_debugPrint(str)
#define SERIAL_DEBUG_PRINTLN(str)                     serial_debugPrintln(str)
#define SERIAL_DEBUG_PRINT_VALUELN(title, value)       serial_debugPrintValueLn((title), (value))
#else
#define SERIAL_DEBUG_PRINT(str)                       
#define SERIAL_DEBUG_PRINTLN(str)
#define SERIAL_DEBUG_PRINT_VALUELN(title, value) 
#endif




void serial_debugInit(void);
void serial_debugPrint(uint8 *buf);
void serial_debugPrintln(uint8 *buf);
void serial_debugPrintValueLn(uint8 *buf, uint16 value);
  
  
#ifdef __cplusplus
}
#endif

#endif /* SERIAL_DEBUG_IRQ_H */