From d2e42029ec04c3f224580f8007cdfbbfe0fc47a6 Mon Sep 17 00:00:00 2001 From: Fulup Ar Foll Date: Fri, 26 May 2017 18:45:56 +0200 Subject: Initial Commit --- ...r_a_c_e_gaebb5aec06a7196b1247805a53a96f926.html | 147 +++++++++++++++++++++ 1 file changed, 147 insertions(+) create mode 100644 ucs2-lib/doc/html/group___g___u_c_s___t_r_a_c_e_gaebb5aec06a7196b1247805a53a96f926.html (limited to 'ucs2-lib/doc/html/group___g___u_c_s___t_r_a_c_e_gaebb5aec06a7196b1247805a53a96f926.html') diff --git a/ucs2-lib/doc/html/group___g___u_c_s___t_r_a_c_e_gaebb5aec06a7196b1247805a53a96f926.html b/ucs2-lib/doc/html/group___g___u_c_s___t_r_a_c_e_gaebb5aec06a7196b1247805a53a96f926.html new file mode 100644 index 0000000..3fd6ea5 --- /dev/null +++ b/ucs2-lib/doc/html/group___g___u_c_s___t_r_a_c_e_gaebb5aec06a7196b1247805a53a96f926.html @@ -0,0 +1,147 @@ + + + + + +UNICENS: UCS_TR_INFO + + + + + + + + + + + + + + + +
+
+
+ + + + + + + +
Logo +
UNICENS V2.1.0-3491
+
User Manual and API Reference
+ +
+
+ + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
+ + + + +
#define UCS_TR_INFO
+
+ +

Trace macro to capture trace info events.

+

This macro is used to enable the capturing of trace info events. The macro must be mapped onto a user-defined function. To disable the trace info events, the macro must not be defined. The mapped user-defined function must adhere to the following function signature.

+

void (*Ucs_TraceCb_t)(void * ucs_user_ptr, const char module_str[], const char entry_str[], uint16_t vargs_cnt, ...);

+
    +
  • ucs_user_ptr
    +Reference to the User argument
  • +
  • module_str
    +The name of the software module that has posted the trace
  • +
  • entry_str
    +The trace entry as formatted string
  • +
  • vargs_cnt
    +Number of trace arguments which will be passed within the variable argument list
  • +
  • [...]
    +Variable argument list to pass trace arguments
  • +
+
Warning
Do not assign UCS_TR_INFO in a production system. This has major effects on the CPU load and runtime. UCS_TR_INFO is intended for debugging software during development phase. Microchip Support might request you to assign of this macro to spy on internal events. Disable this macro definition after your support case is closed.
+

Example:

+
extern void App_UcsTraceInfo(void * ucs_user_ptr,
+
const char module_str[],
+
const char entry_str[],
+
uint16_t vargs_cnt,
+
...);
+
+
#define UCS_TR_INFO App_UcsTraceInfo
+
+
+
+
+
+ + + + + + -- cgit 1.2.3-korg