User`s guide
Libraries and Runtime Code
EOnCE Library
340
Targeting MC56F83xx/DSP5685x Controllers
_eonce_GetTraceBuffer
Retrieves the contents of the trace buffer.
Prototype
int _eonce_GetTraceBuffer( unsigned int *count, unsigned long
*buffer )
Parameters
countunsigned int *
Passes in the size of the buffer; if 0 is passed in, the contents of the trace buffer are not
retrieved, instead the number of entries in the trace buffer are returned in count.
bufferunsigned long *
Points to an array in which the contents of the trace buffer are returned starting with
the oldest entry.
Remarks
This function retrieves the addresses contained in the trace buffer. The addresses
represent the program execution point when certain change-of-flow events occur. The
trace buffer behavior, including capture events, can be configured using
_eonce_SetupTraceBuffer.
Returns
Error code as defined in the sub-section “Definitions.”
_eonce_ClearTraceBuffer
Clears the contents of the trace buffer.
Prototype
int _eonce_ClearTraceBuffer( )