Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
cs_trace_defmt.h File Reference
#include <zephyr/kernel.h>

Go to the source code of this file.

Macros

#define CORESIGHT_TRACE_FRAME_SIZE32   4
 Size of trace deformatter frame size in 32 bit words.
 
#define CORESIGHT_TRACE_FRAME_SIZE   (CORESIGHT_TRACE_FRAME_SIZE32 * sizeof(uint32_t))
 Size of trace deformatter frame size in bytes.
 

Typedefs

typedef void(* cs_trace_defmt_cb) (uint32_t id, const uint8_t *data, size_t len)
 Callback signature.
 

Functions

int cs_trace_defmt_init (cs_trace_defmt_cb cb)
 Initialize Coresight Trace Deformatter.
 
int cs_trace_defmt_process (const uint8_t *data, size_t len)
 Decode data from the stream.