documentation/graphs/fsm_pdo_conf.dot
author Edouard Tisserant <edouard.tisserant@gmail.com>
Mon, 08 Oct 2018 23:16:34 +0200
branchstable-1.5
changeset 2726 ca80d6dac4c8
parent 2513 e60c68f33e4f
permissions -rw-r--r--
devices/rtdmnet.c : abuse RTDM api to allow sendmsg and recvmsg to be called indirectly from userland cobalt process ioctl, while rtdm_socket is created from a kernel thread.
617
3c628bb7f68b Improved mapping FSM graph.
Florian Pose <fp@igh-essen.com>
parents: 616
diff changeset
     1
3c628bb7f68b Improved mapping FSM graph.
Florian Pose <fp@igh-essen.com>
parents: 616
diff changeset
     2
/* $Id$ */
3c628bb7f68b Improved mapping FSM graph.
Florian Pose <fp@igh-essen.com>
parents: 616
diff changeset
     3
1174
235f34ca50e2 Major Pdo configuration change: Read mapping of unknown Pdos during
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
     4
digraph pdo_conf {
2513
e60c68f33e4f Improved fon specifications in DOT graphs.
Florian Pose <fp@igh-essen.com>
parents: 1327
diff changeset
     5
    node [fontname="Helvetica"]
e60c68f33e4f Improved fon specifications in DOT graphs.
Florian Pose <fp@igh-essen.com>
parents: 1327
diff changeset
     6
    edge [fontname="Helvetica", fontsize="12"]
616
b777e26367c5 Added PDO mapping FSM graph.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     7
2513
e60c68f33e4f Improved fon specifications in DOT graphs.
Florian Pose <fp@igh-essen.com>
parents: 1327
diff changeset
     8
    start
e60c68f33e4f Improved fon specifications in DOT graphs.
Florian Pose <fp@igh-essen.com>
parents: 1327
diff changeset
     9
    start -> action_next_sync [label="First SM",weight=10]
e60c68f33e4f Improved fon specifications in DOT graphs.
Florian Pose <fp@igh-essen.com>
parents: 1327
diff changeset
    10
    start -> end [label="No config"]
616
b777e26367c5 Added PDO mapping FSM graph.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    11
1174
235f34ca50e2 Major Pdo configuration change: Read mapping of unknown Pdos during
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    12
    action_next_sync [shape=point,label=""]
2513
e60c68f33e4f Improved fon specifications in DOT graphs.
Florian Pose <fp@igh-essen.com>
parents: 1327
diff changeset
    13
    action_next_sync -> action_check_assignment [label="No PDOs"]
e60c68f33e4f Improved fon specifications in DOT graphs.
Florian Pose <fp@igh-essen.com>
parents: 1327
diff changeset
    14
    action_next_sync -> action_pdo_mapping [label="First PDO",weight=10]
e60c68f33e4f Improved fon specifications in DOT graphs.
Florian Pose <fp@igh-essen.com>
parents: 1327
diff changeset
    15
    action_next_sync -> end [label="No more SMs"]
1174
235f34ca50e2 Major Pdo configuration change: Read mapping of unknown Pdos during
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    16
235f34ca50e2 Major Pdo configuration change: Read mapping of unknown Pdos during
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    17
    action_pdo_mapping [shape=point,label=""]
2513
e60c68f33e4f Improved fon specifications in DOT graphs.
Florian Pose <fp@igh-essen.com>
parents: 1327
diff changeset
    18
    action_pdo_mapping -> read_mapping [label="Unknown"]
1174
235f34ca50e2 Major Pdo configuration change: Read mapping of unknown Pdos during
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    19
    action_pdo_mapping -> action_check_mapping [weight=10]
235f34ca50e2 Major Pdo configuration change: Read mapping of unknown Pdos during
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    20
2513
e60c68f33e4f Improved fon specifications in DOT graphs.
Florian Pose <fp@igh-essen.com>
parents: 1327
diff changeset
    21
    read_mapping
1174
235f34ca50e2 Major Pdo configuration change: Read mapping of unknown Pdos during
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    22
    read_mapping -> action_check_mapping
235f34ca50e2 Major Pdo configuration change: Read mapping of unknown Pdos during
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    23
235f34ca50e2 Major Pdo configuration change: Read mapping of unknown Pdos during
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    24
    action_check_mapping [shape=point,label=""]
235f34ca50e2 Major Pdo configuration change: Read mapping of unknown Pdos during
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    25
    action_check_mapping -> action_next_pdo_mapping
235f34ca50e2 Major Pdo configuration change: Read mapping of unknown Pdos during
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    26
    action_check_mapping -> mapping [weight=10]
235f34ca50e2 Major Pdo configuration change: Read mapping of unknown Pdos during
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    27
2513
e60c68f33e4f Improved fon specifications in DOT graphs.
Florian Pose <fp@igh-essen.com>
parents: 1327
diff changeset
    28
    mapping
1174
235f34ca50e2 Major Pdo configuration change: Read mapping of unknown Pdos during
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    29
    mapping -> action_next_pdo_mapping [weight=10]
235f34ca50e2 Major Pdo configuration change: Read mapping of unknown Pdos during
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    30
235f34ca50e2 Major Pdo configuration change: Read mapping of unknown Pdos during
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    31
    action_next_pdo_mapping [shape=point,label=""]
235f34ca50e2 Major Pdo configuration change: Read mapping of unknown Pdos during
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    32
    action_next_pdo_mapping -> action_check_assignment [weight=10]
2513
e60c68f33e4f Improved fon specifications in DOT graphs.
Florian Pose <fp@igh-essen.com>
parents: 1327
diff changeset
    33
    action_next_pdo_mapping -> action_pdo_mapping [label="Next PDO"]
1174
235f34ca50e2 Major Pdo configuration change: Read mapping of unknown Pdos during
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    34
235f34ca50e2 Major Pdo configuration change: Read mapping of unknown Pdos during
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    35
    action_check_assignment [shape=point,label=""]
2513
e60c68f33e4f Improved fon specifications in DOT graphs.
Florian Pose <fp@igh-essen.com>
parents: 1327
diff changeset
    36
    action_check_assignment -> action_next_sync [label="Assign ok"]
1174
235f34ca50e2 Major Pdo configuration change: Read mapping of unknown Pdos during
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    37
    action_check_assignment -> zero_pdo_count [weight=10]
235f34ca50e2 Major Pdo configuration change: Read mapping of unknown Pdos during
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    38
2513
e60c68f33e4f Improved fon specifications in DOT graphs.
Florian Pose <fp@igh-essen.com>
parents: 1327
diff changeset
    39
    zero_pdo_count
e60c68f33e4f Improved fon specifications in DOT graphs.
Florian Pose <fp@igh-essen.com>
parents: 1327
diff changeset
    40
    zero_pdo_count -> action_next_sync [label="No PDOs"]
e60c68f33e4f Improved fon specifications in DOT graphs.
Florian Pose <fp@igh-essen.com>
parents: 1327
diff changeset
    41
    zero_pdo_count -> action_assign_pdo [label="First PDO", weight=10]
1174
235f34ca50e2 Major Pdo configuration change: Read mapping of unknown Pdos during
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    42
235f34ca50e2 Major Pdo configuration change: Read mapping of unknown Pdos during
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    43
    action_assign_pdo [shape=point,label=""]
235f34ca50e2 Major Pdo configuration change: Read mapping of unknown Pdos during
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    44
    action_assign_pdo -> assign_pdo [weight=10]
235f34ca50e2 Major Pdo configuration change: Read mapping of unknown Pdos during
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    45
2513
e60c68f33e4f Improved fon specifications in DOT graphs.
Florian Pose <fp@igh-essen.com>
parents: 1327
diff changeset
    46
    assign_pdo
e60c68f33e4f Improved fon specifications in DOT graphs.
Florian Pose <fp@igh-essen.com>
parents: 1327
diff changeset
    47
    assign_pdo -> set_pdo_count [label="No more PDOs", weight=10]
e60c68f33e4f Improved fon specifications in DOT graphs.
Florian Pose <fp@igh-essen.com>
parents: 1327
diff changeset
    48
    assign_pdo -> action_assign_pdo [label="Next PDO"]
1174
235f34ca50e2 Major Pdo configuration change: Read mapping of unknown Pdos during
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    49
2513
e60c68f33e4f Improved fon specifications in DOT graphs.
Florian Pose <fp@igh-essen.com>
parents: 1327
diff changeset
    50
    set_pdo_count
1174
235f34ca50e2 Major Pdo configuration change: Read mapping of unknown Pdos during
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    51
    set_pdo_count -> action_next_sync
616
b777e26367c5 Added PDO mapping FSM graph.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    52
}