StateChart elements

State Chart Element

Generate C Code

RTOS Dependency

choice

YES

NO1

composite state

YES

NO

deep history

YES

YES

entry point

YES

NO

exit point

YES

NO

final state

YES

NO

fork

YES

NO

initial state indicator

YES

NO

junction

YES

NO

state

YES

NO

state chart

YES

NO

terminate

YES

YES

1.     If there is an outgoing transition on a choice state with the [else] guard, no foreign RTOS is required; otherwise, there is a call for stopSimulation() and a foreign RTOS is required..