Download uC/Trace User`s Manual - Doc
Transcript
Chapter 3 CONFIGURING THE μC/TRACE TRIGGERING SYSTEM The third step is optional and available only if your platform is supported by μC/Probe and you want to trigger recordings from μC/Probe. If so, in this configuration stage you get to enable the system and define the trigger points as described in the following code listings. /* ******************************************************************************************** * UC/TRACE TRIGGERS MODULE * * Note(s) : The uC/Trace Triggering mechanism requires the hardware platform to be * supported by uC/Probe. * * If your platform is uC/Probe-ready, then enable this module by setting * the macro below to 1. ******************************************************************************************** */ #define TRACE_CFG_TRIG_EN 1u (1) #if (defined(TRACE_CFG_TRIG_EN) && (TRACE_CFG_TRIG_EN > 0u)) /* ******************************************************************************************** * UC/TRACE TRIGGERS SETTINGS ******************************************************************************************** */ #define #define TRACE_CFG_TRIG_MAX_TRIGS TRACE_CFG_TRIG_NAME_LEN 16u 32u (2) /* ******************************************************************************************** * UC/TRACE TRIGGERS TASK SETTINGS ******************************************************************************************** */ #define #define 22 TRACE_CFG_TRIG_TASK_STK_SIZE TRACE_CFG_TRIG_TASK_PRIO 128u 20u (3)