documentation/graphs/fsm_master.dot
author Florian Pose <fp@igh-essen.com>
Thu, 05 Jun 2008 15:58:25 +0000
changeset 959 676e15bc5f27
parent 907 570ae1c64465
child 987 3c9090138140
permissions -rw-r--r--
TODO.
803
c9e147567924 Updated properties and keywords for dot files.
Florian Pose <fp@igh-essen.com>
parents: 718
diff changeset
     1
c9e147567924 Updated properties and keywords for dot files.
Florian Pose <fp@igh-essen.com>
parents: 718
diff changeset
     2
/* $Id$ */
c9e147567924 Updated properties and keywords for dot files.
Florian Pose <fp@igh-essen.com>
parents: 718
diff changeset
     3
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     4
digraph master {
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     5
    size="7,9"
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     6
    center=1
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     7
	ratio=fill
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     8
907
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
     9
    start [fontname="Helvetica"]
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    10
    start -> broadcast [weight=10]
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    11
907
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    12
    broadcast [fontname="Helvetica"]
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    13
    broadcast -> end
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    14
    broadcast -> clear_addresses
907
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    15
    broadcast -> read_state [weight=10]
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    16
907
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    17
    action_process_sii [shape=point,label=""]
872
d4e0380d63b3 Renamed EEPROM to SII.
Florian Pose <fp@igh-essen.com>
parents: 831
diff changeset
    18
    action_process_sii -> write_sii
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    19
907
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    20
    action_process_sdo [shape=point,label=""]
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    21
    action_process_sdo -> sdo_request
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    22
907
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    23
    action_idle [shape=point,label=""]
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    24
    action_idle -> action_process_sdo
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    25
    action_idle -> sdo_dictionary
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    26
    action_idle -> action_process_sii
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    27
    action_idle -> end
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    28
907
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    29
    action_next_slave_state [shape=point,label=""]
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    30
    action_next_slave_state -> read_state
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    31
    action_next_slave_state -> action_idle [weight=10]
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    32
    
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    33
    action_configure [shape=point,label=""]
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    34
    action_configure -> configure_slave [weight=10]
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    35
    action_configure -> action_next_slave_state
831
ded9519c8d6e Reading of Pdo mapping via CoE during scan.
Florian Pose <fp@igh-essen.com>
parents: 803
diff changeset
    36
907
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    37
    action_acknowledge [shape=point,label=""]
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    38
    action_acknowledge -> acknowledge [weight=10]
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    39
    action_acknowledge -> action_configure
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    40
    action_acknowledge -> action_next_slave_state
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    41
907
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    42
    read_state [fontname="Helvetica"]
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    43
    read_state -> action_acknowledge [weight=10]
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    44
907
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    45
    acknowledge [fontname="Helvetica"]
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    46
    acknowledge -> action_configure [weight=10]
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    47
907
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    48
    clear_addresses [fontname="Helvetica"]
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    49
    clear_addresses -> scan_slave [weight=10]
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    50
907
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    51
    scan_slave [fontname="Helvetica"]
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    52
    scan_slave -> end
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    53
907
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    54
    configure_slave [fontname="Helvetica"]
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    55
    configure_slave -> action_next_slave_state [weight=10]
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    56
907
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    57
    write_sii [fontname="Helvetica"]
872
d4e0380d63b3 Renamed EEPROM to SII.
Florian Pose <fp@igh-essen.com>
parents: 831
diff changeset
    58
    write_sii -> action_process_sii
d4e0380d63b3 Renamed EEPROM to SII.
Florian Pose <fp@igh-essen.com>
parents: 831
diff changeset
    59
    write_sii -> end
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    60
907
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    61
    sdo_dictionary [fontname="Helvetica"]
905
6d74ebc603ee Renamed state sdodict to sdo_dictionary.
Florian Pose <fp@igh-essen.com>
parents: 900
diff changeset
    62
    sdo_dictionary -> end
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    63
907
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    64
    sdo_request [fontname="Helvetica"]
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    65
    sdo_request -> action_process_sdo
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    66
    sdo_request -> end
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    67
907
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    68
    end [fontname="Helvetica"]
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    69
}