summaryrefslogtreecommitdiff
path: root/model/driver/resistive_load.dfa
diff options
context:
space:
mode:
authorLennart <lekaiser@uos.de>2020-07-17 12:39:15 +0200
committerLennart <lekaiser@uos.de>2020-07-17 12:39:15 +0200
commit5c4045862bf55be0b8dc755ac3d5c5bd24b5fedf (patch)
treec104a31c95b5a6498f9c195da4cdc406286d9768 /model/driver/resistive_load.dfa
parentdd188370afa340d3b717b8747890bc304c0e3346 (diff)
parent52f23fad43b47c6cebb38fa387c39d0e27a12797 (diff)
Merge branch 'master' into state-duration-timers
Diffstat (limited to 'model/driver/resistive_load.dfa')
-rw-r--r--model/driver/resistive_load.dfa44
1 files changed, 44 insertions, 0 deletions
diff --git a/model/driver/resistive_load.dfa b/model/driver/resistive_load.dfa
new file mode 100644
index 0000000..a2bf3dd
--- /dev/null
+++ b/model/driver/resistive_load.dfa
@@ -0,0 +1,44 @@
+codegen:
+ instance: resistiveLoad
+ includes:
+ - driver/resistive_load.h
+ flags:
+ - drivers=resistive_load
+ setup:
+ - resistiveLoad.setup();
+
+states:
+ - UNINITIALIZED
+ - SLEEP
+ - P14MW
+ - P11MW
+ - P4_4MW
+ - P3_4MW
+ - P1_1MW
+ - P235UW
+
+transition:
+ setup:
+ src: [UNINITIALIZED]
+ dst: SLEEP
+ switchToNone:
+ src: [UNINITIALIZED, SLEEP, P14MW, P11MW, P4_4MW, P3_4MW, P1_1MW, P235UW]
+ dst: SLEEP
+ switchTo750:
+ src: [UNINITIALIZED, SLEEP, P14MW, P11MW, P4_4MW, P3_4MW, P1_1MW, P235UW]
+ dst: P14MW
+ switchTo1K0:
+ src: [UNINITIALIZED, SLEEP, P14MW, P11MW, P4_4MW, P3_4MW, P1_1MW, P235UW]
+ dst: P11MW
+ switchTo2K4:
+ src: [UNINITIALIZED, SLEEP, P14MW, P11MW, P4_4MW, P3_4MW, P1_1MW, P235UW]
+ dst: P4_4MW
+ switchTo3K3:
+ src: [UNINITIALIZED, SLEEP, P14MW, P11MW, P4_4MW, P3_4MW, P1_1MW, P235UW]
+ dst: P3_4MW
+ switchTo10K:
+ src: [UNINITIALIZED, SLEEP, P14MW, P11MW, P4_4MW, P3_4MW, P1_1MW, P235UW]
+ dst: P1_1MW
+ switchTo47K:
+ src: [UNINITIALIZED, SLEEP, P14MW, P11MW, P4_4MW, P3_4MW, P1_1MW, P235UW]
+ dst: P235UW