STM32F7 Ethernet interface for nucleo STM32F767

Embed: (wiki syntax)

« Back to documentation index

Debug functions

Debug functions
[Platform]

Functions

static void debug (const char *format,...)
 Output a debug message.
static void debug_if (int condition, const char *format,...)
 Conditionally output a debug message.

Function Documentation

static void debug ( const char *  format,
  ... 
) [static]

Output a debug message.

Parameters:
formatprintf-style format string, followed by variables

Definition at line 40 of file mbed_debug.h.

static void debug_if ( int  condition,
const char *  format,
  ... 
) [static]

Conditionally output a debug message.

NOTE: If the condition is constant false (== 0) and the compiler optimization level is greater than 0, then the whole function will be compiled away.

Parameters:
conditionoutput only if condition is true (!= 0)
formatprintf-style format string, followed by variables

Definition at line 58 of file mbed_debug.h.