Generated Data Types, Data Usage, and Functions : Functions Supporting Instrumentation Implementation : Debug

Debug
cgReportState
 
 

This function will be generated in (custom) p_state.c file when debug is enabled. The function calculates and reports the current state configuration of an activity chart. Because the function is generated to a separate file, and the prototype of it is:

void cgReportState(unsigned char whichChart,

unsigned char* baseAddress)

 

 

It is possible to use that functionality across target-host communications when providing a target implementation that saves the data to a file and uses that generated file on the host.

cgReportStates_<NAME>

 

 

This function will be generated when debug is enabled per control activity, to the <MODULE>.c file. That function call cgReportState with the appropriate data and timing.