APIs, concepts, guides, and more

◆ MaskOnGet()

static bool MaskOnGet ( RSITrace maskOn)
static
Description:
TraceMaskOnGet returns true if a trace output mask is turned on, false if turned off.
Returns
(bool) The trace output mask - values are here RSITrace.
Parameters
maskOnRSITrace value we want to check.
Sample Code:
if (Trace::MaskOnGet(RSITrace::RSITraceFUNCTION_ENTRY)) // traces function name & calling parameters upon entry to function
{
printf("Function entry tracing is enabled\n");
}
static bool MaskOnGet(RSITrace maskOn)
Check to see if a particular trace output mask is turned on.
@ RSITraceFUNCTION_ENTRY
Function entry.
See also
Trace::MaskSet, Trace::MaskOnSet, Trace::MaskOnGet, Trace::MaskOffSet, Trace::MaskClear, Trace::FileSet, Trace::FileClose, Trace::InjectMessage