Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
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:
-
format printf-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:
-
condition output only if condition is true (!= 0) format printf-style format string, followed by variables
Definition at line 59 of file mbed_debug.h.
Generated on Tue Jul 12 2022 19:04:39 by
1.7.2