summaryrefslogtreecommitdiff
path: root/model/arch/msp430fr5969lp/driver/gpio.dfa
diff options
context:
space:
mode:
Diffstat (limited to 'model/arch/msp430fr5969lp/driver/gpio.dfa')
-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]