TRC_enable
2-470
C Interface
Syntax
TRC_enable(mask);
Parameters
Uns
mask;
/* trace type constant mask */
Return Value
Void
Reentrant
no
Description
TRC_enable enables tracing of one or more trace types. Trace types are
specified with a 32-bit mask. (See the TRC Module topic for a list of
constants to use in the mask.)
The following C code would enable tracing of statistics for software
interrupts and periodic functions:
TRC_enable(TRC_STSSWI | TRC_STSPRD);
Internally, DSP/BIOS uses a bitwise OR operation to enable multiple
trace types.
For example, you might want to use TRC_enable with a fixed log to
enable tracing when a specific condition occurs. This allows test
equipment to retrieve the log events that happened just after this
condition occurred.
See Also
TRC_disable
TRC_query
LOG_printf
LOG_event
STS_add
STS_delta
TRC_enable
Enable trace type(s)