DSMCC  15.3.1
include/stb_debug.h File Reference

Interface to platform debug functions. More...

Go to the source code of this file.

Functions

void STB_SPDebugWrite (const char *format,...)
 Write debug string to serial/debug port. <CR><LF> characters will be automatically added to the end of the string.
void STB_SPDebugNoCnWrite (const char *format,...)
 Writes debug string to the serial port without <CR><LF>
void STB_SPDebugAssertFail (const char *file, int line, const char *eval_str)
 Report Assertion failure.

Detailed Description

Interface to platform debug functions.

Date:
23/01/2013
Author:
Adam Sturtridge

Function Documentation

void STB_SPDebugAssertFail ( const char *  file,
int  line,
const char *  eval_str 
)

Report Assertion failure.

Parameters:
filename of source file
lineline number of source file
eval_strevaluation string that failed
void STB_SPDebugNoCnWrite ( const char *  format,
  ... 
)

Writes debug string to the serial port without <CR><LF>

Parameters:
formatstring & format
void STB_SPDebugWrite ( const char *  format,
  ... 
)

Write debug string to serial/debug port. <CR><LF> characters will be automatically added to the end of the string.

Parameters:
formatstring & format
 All Data Structures Files Functions Typedefs