From 0c3e8257981cedbd03c282c54c2b931b8f163274 Mon Sep 17 00:00:00 2001
From: Florian Pose <fp@igh-essen.com>
Date: Mon, 24 Sep 2007 07:12:04 +0000
Subject: [PATCH] Added state machine graph for CoE mapping state machine.

---
 documentation/graphs/Makefile        |  6 ++++-
 documentation/graphs/fsm_coe_map.dot | 33 ++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+), 1 deletion(-)
 create mode 100644 documentation/graphs/fsm_coe_map.dot

diff --git a/documentation/graphs/Makefile b/documentation/graphs/Makefile
index b58acc10..992a497d 100644
--- a/documentation/graphs/Makefile
+++ b/documentation/graphs/Makefile
@@ -4,7 +4,11 @@
 #
 #-----------------------------------------------------------------------------
 
-GRAPHS := fsm_slave_conf.ps fsm_pdo_mapping.ps fsm_master.ps
+GRAPHS := \
+	fsm_slave_conf.ps \
+	fsm_pdo_mapping.ps \
+	fsm_master.ps \
+	fsm_coe_map.ps
 
 all: $(GRAPHS)
 
diff --git a/documentation/graphs/fsm_coe_map.dot b/documentation/graphs/fsm_coe_map.dot
new file mode 100644
index 00000000..fbd5331f
--- /dev/null
+++ b/documentation/graphs/fsm_coe_map.dot
@@ -0,0 +1,33 @@
+
+/* $Id$ */
+
+digraph readpdomapping {
+    size="7,9"
+    center=1
+	ratio=fill
+
+    next_sync [shape=point,label=""]
+    next_pdo [shape=point,label=""]
+    next_pdo_entry [shape=point,label=""]
+
+    start -> next_sync [label="first SM"]
+
+    next_sync -> pdo_count [weight=5]
+    next_sync -> end
+
+    pdo_count -> next_pdo [weight=5]
+
+    next_pdo -> pdo [weight=5]
+    next_pdo -> next_sync
+
+    pdo -> pdo_entry_count [weight=5]
+
+    pdo_entry_count -> next_pdo_entry [weight=10]
+
+    next_pdo_entry -> pdo_entry [weight=5]
+    next_pdo_entry -> next_pdo
+
+    pdo_entry -> next_pdo_entry
+
+    end
+}
-- 
GitLab