Is it possible to chose the ay SCADE Suite generates C code for a State machine?
I am discovering SCADE Suite, and I am wondering if it is possible to chose different ways to generate C code corresponding to a state machine. In C state machines can be implemented in 2 different ways:
- By using 2 levels of nested switch case (one for states, one for events)
- By creating an array of pointers to functions with 2 dimentions (once again: one for states, one for events).
Is there is a way to configure and / or modelise with SCADE, to obtain a state machine with corresponding a C code implemented preferentially to the other?