summaryrefslogtreecommitdiff
path: root/model/arch/msp430fr5969lp/driver
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2019-05-24 08:33:40 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2019-05-24 08:33:40 +0200
commit86638f0ecdbfd5d5c86f664fc5717c6154a67973 (patch)
tree256deb51017ad9e4d9556346529123b84c30aed9 /model/arch/msp430fr5969lp/driver
parent1716621bc7ab29ef28e1ad89f7d9523e11445e47 (diff)
energy model WiP
Diffstat (limited to 'model/arch/msp430fr5969lp/driver')
-rw-r--r--model/arch/msp430fr5969lp/driver/gpio.dfa13
1 files changed, 13 insertions, 0 deletions
diff --git a/model/arch/msp430fr5969lp/driver/gpio.dfa b/model/arch/msp430fr5969lp/driver/gpio.dfa
new file mode 100644
index 0000000..b1f0708
--- /dev/null
+++ b/model/arch/msp430fr5969lp/driver/gpio.dfa
@@ -0,0 +1,13 @@
+states:
+ - UNINITIALIZED
+ - P0_INPUT
+ - P0_INPUT_PULLUP
+ - P0_OUTPUT_LOW
+ - P0_OUTPUT_HIGH
+
+transition:
+ setup:
+ src: [UNINITIALIZED]
+ dst: P0_OUTPUT
+ input:
+ src: [P0_INPUT, P0_INPUT_PULLUP, P0_OUTPUT_LOW, P0_OUTPUT_HIGH]