Example Definition Code Generated Check for Timeout Function Name(activityNameid) genTmEvent_$<activityNameid> Defines the prefix of the timeout dispatch function, related to a Task/ISR or generic activity chart generated as a function. This API defines the name of the name of the Timeouts dispatch function.The function is generated before the Task code function, in the file <module>.c. For an Activity defined to be a Task:Generated code:genTmEvent_
T1(...)
Activity Function Name(activityNameid) cgActivity_$<activityNameid> Defines the prefix for the name of the function/macro implementing an activity. Each Activity is translated into a Function/Macro (depending on a profile option).The name of the Function/Macro is defined by this API, and generated in the file <module>.c For an Activity NOT defined to be a Task:Generated code:cgActivity_
ACT1(void)
Statechart Function Name(activityNameid) cgDo_$<activityNameid> Defines the prefix for the name of the function/macro implementing a statechart hierarchy. Each Control-Activity (with the Statechart hierarchy below it) is translated into a Function/Macro (depending on a profile option).The name of the Function/Macro is defined by this API, and generated in the file <module>.c For a Control-Activity:Generated code:cgDo_CTRL1(
void)
Entering Reaction Function Name(activityNameid) cgEnterActions_$<activityNameid> Defines the prefix for the name of the Entering Reaction function implementing a statechart hierarch. The Entering-Reactions for a Statechart hierarchy is generated in a single function.This API defines the name of this function.The function is generated in the file <module>.c For a Control-Activity:Generated code: Exiting Reaction Function Name(activityNameid) cgExitActions_$<activityNameid> Defines the prefix for the name of the Exiting Reaction function implementing a statechart hierarchy. The Exiting-Reactions for a Statechart hierarchy is generated in a single function.This API defines the name of this function.The function is generated in the file <module>.c For a Control-Activity:Generated code: Generic Chart Function Name(activityNameid) cgGenericFunc_$<activityNameid> Defines the prefix for the name of the function implementing a generic activity. Generic Activity which is implemented as function uses an entry function to the generic's code.The name of this function is defined by this API.This function is generated in the file g_<Generic-As-Function-Name>. For a Generic Activity Chart:Name: GEN_ACT1Generated code: