From 86638f0ecdbfd5d5c86f664fc5717c6154a67973 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 24 May 2019 08:33:40 +0200 Subject: energy model WiP --- model/arch/msp430fr5969lp/driver/gpio.dfa | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 model/arch/msp430fr5969lp/driver/gpio.dfa (limited to 'model/arch/msp430fr5969lp/driver/gpio.dfa') 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] -- cgit v1.2.3