nRF51 SDK
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages

Enables debug logs/ trace over UART. More...

Macros

#define debug_log   printf
 Log debug messages. More...
 

Functions

void debug_init (void)
 Module Initialization. More...
 
void debug_dump (uint8_t *str, uint32_t len)
 

Detailed Description

Enables debug logs/ trace over UART.

Enables debug logs/ trace over UART. Tracing is enabled only if ENABLE_DEBUG_LOG_SUPPORT is defined in the project.

Macro Definition Documentation

#define debug_log   printf

Log debug messages.

This API logs messages over UART. Module shall be initialized before using this API.

Note
Though this is currently a macro, it should be used used and treated as function.

Function Documentation

void debug_init ( void  )

Module Initialization.

Initializes the module.