nRF Connect SDK API 0.1.0
|
The trace backend interface, implemented by the trace backend. More...
#include <trace_backend.h>
Data Fields | |
int(* | init )(trace_backend_processed_cb trace_processed_cb) |
Initialize the compile-time selected trace backend. | |
int(* | deinit )(void) |
Deinitialize the compile-time selected trace backend. | |
int(* | write )(const void *data, size_t len) |
Write trace data to the compile-time selected trace backend. | |
size_t(* | data_size )(void) |
Get the number of bytes stored in the compile-time selected trace backend. | |
int(* | read )(void *buf, size_t len) |
Read trace data from the compile-time selected trace backend. | |
int(* | clear )(void) |
Erase all captured trace data in the compile-time selected trace backend. | |
int(* | suspend )(void) |
Suspend trace backend. | |
int(* | resume )(void) |
Resume trace backend. | |
The trace backend interface, implemented by the trace backend.