Percepio Trace Recorder v4.11.0
Loading...
Searching...
No Matches
trcObject.h File Reference

Public trace object APIs. More...

#include <trcTypes.h>

Go to the source code of this file.

Macros

#define xTraceObjectGetAddress(xObjectHandle, ppvAddress)
 Gets trace object address.
#define pvTraceObjectGetAddressReturn(xObjectHandle)
 Returns trace object address.
#define xTraceObjectGetName(xObjectHandle, pszName)
 Gets trace object name.
#define xTraceObjectSetState(xObjectHandle, uxState)
 Sets trace object state.
#define xTraceObjectSetSpecificState(xObjectHandle, uiIndex, uxState)
 Sets trace object specific state.
#define xTraceObjectGetSpecificState(xObjectHandle, uiIndex, puxState)
 Gets trace object specific state.
#define xTraceObjectSetOptions(xObjectHandle, uiOptions)
 Sets trace object options.
#define xTraceObjectSetStateWithoutHandle(pvObject, uxState)
 Set trace object state without trace object handle.
#define xTraceObjectFind(pvObject, pxObjectHandle)
 Get the TraceObjectHandle_t of the object.

Functions

traceResult xTraceObjectRegisterInternal (uint32_t uiEventCode, void *const pvObject, const char *szName, TraceUnsignedBaseType_t uxStateCount, const TraceUnsignedBaseType_t uxStates[], TraceUnsignedBaseType_t uxOptions, TraceObjectHandle_t *pxObjectHandle)
 Registers trace object.
traceResult xTraceObjectRegister (uint32_t uiEventCode, void *const pvObject, const char *szName, TraceUnsignedBaseType_t uxState, TraceObjectHandle_t *pxObjectHandle)
 Registers trace object.
traceResult xTraceObjectRegister2 (uint32_t uiEventCode, void *const pvObject, const char *szName, TraceUnsignedBaseType_t uxState1, TraceUnsignedBaseType_t uxState2, TraceObjectHandle_t *pxObjectHandle)
 Registers trace object with two initial states.
traceResult xTraceObjectUnregister (TraceObjectHandle_t xObjectHandle, uint32_t uiEventCode, TraceUnsignedBaseType_t uxState)
 Unregisters trace object.
traceResult xTraceObjectSetName (TraceObjectHandle_t xObjectHandle, const char *szName)
 Sets trace object name.
traceResult xTraceObjectRegisterWithoutHandle (uint32_t uiEventCode, void *pvObject, const char *szName, TraceUnsignedBaseType_t uxState)
 Registers trace object without trace object handle.
traceResult xTraceObjectRegisterWithoutHandle2 (uint32_t uiEventCode, void *pvObject, const char *szName, TraceUnsignedBaseType_t uxState1, TraceUnsignedBaseType_t uxState2)
 Registers trace object with two initial states without trace object handle.
traceResult xTraceObjectUnregisterWithoutHandle (uint32_t uiEventCode, void *pvObject, TraceUnsignedBaseType_t uxState)
 Unregisters trace object without trace object handle.
traceResult xTraceObjectSetNameWithoutHandle (void *pvObject, const char *szName)
 Set trace object name without trace object handle.
traceResult xTraceObjectSetSpecificStateWithoutHandle (void *pvObject, uint32_t uiIndex, TraceUnsignedBaseType_t uxState)
 Sets trace object specific state without trace object handle.
traceResult xTraceObjectSetOptionsWithoutHandle (void *pvObject, uint32_t uiOptions)
 Sets trace object options without trace object handle.

Detailed Description

Public trace object APIs.