mbed library sources. Supersedes mbed-src.

Dependents:   Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more

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 static void debug_if (int condition, const char *format,...)
 Conditionally output a debug message.

Function Documentation

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

Output a debug message.

Parameters:
formatprintf-style format string, followed by variables

Definition at line 44 of file cmsis/BUILD/mbed/platform/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 63 of file cmsis/BUILD/mbed/platform/mbed_debug.h.