Architecture of Generated C Code : Main Task: Partition and Flow Control for C : Definitions of Data/Control Elements

Definitions of Data/Control Elements

In this section all the LOCAL data-items, events and conditions are defined. The word LOCAL means that the elements are not used outside the module scope. Note that activities are also allocated a status variable of type activity, which is an enumerated type that contains the possible activity statuses.

activity acy_INPUT_TASK = nonactive;
condition GREEN_C = FALSE;