Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/ETPhys.xtext')
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/ETPhys.xtext3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/ETPhys.xtext b/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/ETPhys.xtext
index 872535f50..3f021005e 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/ETPhys.xtext
+++ b/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/ETPhys.xtext
@@ -49,6 +49,7 @@ NodeClass:
PhysicalThread:
(default?='DefaultThread' | 'Thread') name=ID '{'
'execmode' '=' execmode=ExecMode
+ ('interval' '=' time=TIME)?
'prio' '=' prio=PRIO
'stacksize' '=' stacksize=INT
'msgblocksize' '=' msgblocksize=INT
@@ -87,3 +88,5 @@ ImportedFQN:
FQN:
ID ('.' ID)*;
+
+TIME returns ecore::EInt: (INT 's') | (INT 'ms') | (INT 'us') | (INT 'ns');

Back to the top