/******************************************************************************
  Filename:       serial_debug.h.h
  Revised:        2021-11-26
  Revision:       

  Description:    macros for  serial debugging

**/


#ifndef SERIAL_DEBUG_H
#define SERIAL_DEBUG_H

#ifdef __cplusplus
extern "C"
{
#endif



/*********************************************************************
 * MACROS
 */

// SERIAL_DEBUG macros
#if (defined SERIAL_DEBUG) && (SERIAL_DEBUG  == TRUE)
#define SERIAL_DEBUG_PRINT(str)                       serial_debugPrint(str)
#else
#define SERIAL_DEBUG_PRINT(str)                       
#endif




void serial_debugInit(void);
void serial_debugPrint(uint8 *buf);

#ifdef __cplusplus
}
#endif



#endif /*SERIAL_DEBUG_H*/