Percepio Trace Recorder  v4.6.6
trcISR.h File Reference

Public trace ISR APIs. More...

#include <trcTypes.h>

Go to the source code of this file.

Macros

#define xTraceISRGetCurrentNesting(puiValue)   TRC_COMMA_EXPR_TO_STATEMENT_EXPR_2(*(puiValue) = pxTraceISRInfo->coreInfos[TRC_CFG_GET_CURRENT_CORE()].stackIndex, TRC_SUCCESS)
 Gets current trace ISR nesting level. More...
 
#define xTraceISRGetCurrentNestingReturned()   (pxTraceISRInfo->coreInfos[TRC_CFG_GET_CURRENT_CORE()].stackIndex)
 
#define xTraceISRGetCurrent(pxISRHandle)   (xTraceISRGetCurrentNestingReturned() >= 0 ? (*(pxISRHandle) = pxTraceISRInfo->coreInfos[TRC_CFG_GET_CURRENT_CORE()].handleStack[xTraceISRGetCurrentNestingReturned()], TRC_SUCCESS) : TRC_FAIL)
 Gets current trace ISR nesting level. More...
 

Functions

traceResult xTraceISRRegister (const char *szName, uint32_t uiPriority, TraceISRHandle_t *pxISRHandle)
 Registers trace ISR. More...
 
traceResult xTraceISRBegin (TraceISRHandle_t xISRHandle)
 Registers the beginning of an Interrupt Service Routine. More...
 
traceResult xTraceISREnd (TraceBaseType_t xIsTaskSwitchRequired)
 Registers the end of an Interrupt Service Routine. More...
 

Detailed Description

Public trace ISR APIs.