Architecture of Generated C Code : Main Task: Partition and Flow Control for C : Status Types

Status Types

Every non-basic or-state has a status variable that indicates what substate is currently active. The status type is actually an enumerated type, defined at the beginning of the module.

typedef enum {nota_Chart_TMODES, st_LIGHT_MODES} tp_Chart_TMODES_states;