BLE NAND for ST Boards
Dependencies: BLE_API X_NUCLEO_IDB0XA1 mbed
Fork of N06_NAND by
bricks/trace.h@26:dce30a5341bb, 2018-05-19 (annotated)
- Committer:
- hux
- Date:
- Sat May 19 14:10:17 2018 +0000
- Revision:
- 26:dce30a5341bb
- Parent:
- 23:2e73c391bb12
Published
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
hux | 23:2e73c391bb12 | 1 | // trace.h - tracing |
hux | 23:2e73c391bb12 | 2 | #ifndef _TRACE_H_ |
hux | 23:2e73c391bb12 | 3 | #define _TRACE_H_ |
hux | 23:2e73c391bb12 | 4 | |
hux | 23:2e73c391bb12 | 5 | #include <mbed.h> |
hux | 23:2e73c391bb12 | 6 | #include "bricks/o.h" |
hux | 23:2e73c391bb12 | 7 | |
hux | 23:2e73c391bb12 | 8 | void trace(O&o, int level, const char *msg); // trace a message |
hux | 23:2e73c391bb12 | 9 | void trace(O&o, int level, const char*, int); // trace an int value |
hux | 23:2e73c391bb12 | 10 | |
hux | 23:2e73c391bb12 | 11 | void traceln(O&o, int level, const char*msg); // trace with CR & LF |
hux | 23:2e73c391bb12 | 12 | |
hux | 23:2e73c391bb12 | 13 | void verbose(O&o, int level = 9999); // setup verbose level |
hux | 23:2e73c391bb12 | 14 | |
hux | 23:2e73c391bb12 | 15 | #endif // _TRACE_H_ |