Macros | |
| #define | TRACE_ENABLED(m) TRACE_ENABLED_(m) |
| Check that trace is enabled for provided level. To be used in constructions like: More... | |
| #define | ZB_TRACE_FILE_ID 12345U |
Detailed Description
Macro Definition Documentation
◆ TRACE_ENABLED
| #define TRACE_ENABLED | ( | m | ) | TRACE_ENABLED_(m) |
Check that trace is enabled for provided level. To be used in constructions like:
if (TRACE_ENABLED(TRACE_APS3)){ call_some_complex_trace();} - Parameters
-
m - trace level macro.
- Returns
- 1 if enabled, 0 if disabled.
◆ ZB_TRACE_FILE_ID
| #define ZB_TRACE_FILE_ID 12345U |
Trace file ID used by win_com_dump to identify source file.
Must be first define in the .c file, just before first include directive.
- Example
- #define ZB_TRACE_FILE_ID 45967#include "bulb.h"