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.
Dependents: BLE_Acceleration_Statejudging
Fork of nRF51822 by
Debug Logger
Enables debug logs/ trace over UART. More...
Functions | |
| void | app_trace_init (void) |
| Module Initialization. | |
| void | app_trace_dump (uint8_t *p_buffer, uint32_t len) |
| Dump auxiliary byte buffer to the debug trace. | |
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.
Function Documentation
| void app_trace_dump | ( | uint8_t * | p_buffer, |
| uint32_t | len | ||
| ) |
Dump auxiliary byte buffer to the debug trace.
This API logs messages over UART. The module must be initialized before using this API.
- Parameters:
-
[in] p_buffer Buffer to be dumped on the debug trace. [in] len Size of the buffer.
| void app_trace_init | ( | void | ) |
Module Initialization.
Initializes the module to use UART as trace output.
- Warning:
- This function will configure UART using default board configuration (described in nrf51_setups). Do not call this function if UART is configured from a higher level in the application.
Generated on Tue Jul 12 2022 20:03:49 by
1.7.2
