File tree 2 files changed +24
-0
lines changed
2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ .. _cs_trace_defmt :
2
+
3
+ ARM Coresight Trace Deformatter
4
+ ###############################
5
+
6
+ Formatter is a method of wrapping multiple trace streams (specified by 7 bit ID) into a
7
+ single output stream. Formatter is using 16 byte frames which wraps up to 15 bytes of
8
+ data. It is used, for example, by ETR (Embedded Trace Router) which is a circular RAM
9
+ buffer where data from various trace streams can be saved. Typically tracing data is
10
+ decoded offline by the host but deformatter can be used on-chip to decode the data during
11
+ application runtime.
12
+
13
+ Usage
14
+ #####
15
+
16
+ Deformatter is initialized with a user callback. Data is decoded using
17
+ :c:func: `cs_trace_defmt_process ` in 16 bytes chunks. Callback is called whenever stream changes or
18
+ end of chunk is reached. Callback contains stream ID and the data.
19
+
20
+ API documentation
21
+ *****************
22
+
23
+ .. doxygengroup :: cs_trace_defmt
Original file line number Diff line number Diff line change @@ -12,3 +12,4 @@ Debugging
12
12
debugmon.rst
13
13
mipi_stp_decoder.rst
14
14
symtab.rst
15
+ cs_trace_defmt.rst
You can’t perform that action at this time.
0 commit comments