MicroC Code Generator : OS Definition Tool : APIs : Statecharts Functions

Statecharts Functions

These are APIs in the Memory Management page that control the beginning and end code of the Statechart function:

Statechart Beginning Code(nameid):

Description: This line controls the code at the beginning of the Statechart. It will be added as the first executable statement in the Statechart function.
Statechart Ending Code(nameid):

Description: This line controls the code at the end of the Statechart. It will be added as the last executable statement in the Statechart function. In these APIs, nameid is the name of the Control-Activity whose Function is implemented.