This function will be generated in (custom)
p_state.c
file whendebug
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,
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.
This function will be generated when debug is enabled per control activity, to the
<MODULE>.c
file. That function callcgReportState
with the appropriate data and timing.