master/fsm_slave_config.h
changeset 879 9b395c5646ab
parent 854 f4f53be425ac
child 883 4963e22a267a
equal deleted inserted replaced
878:40c379697ebf 879:9b395c5646ab
    46 #include "globals.h"
    46 #include "globals.h"
    47 #include "slave.h"
    47 #include "slave.h"
    48 #include "datagram.h"
    48 #include "datagram.h"
    49 #include "fsm_change.h"
    49 #include "fsm_change.h"
    50 #include "fsm_coe.h"
    50 #include "fsm_coe.h"
       
    51 #include "fsm_pdo_assign.h"
    51 #include "fsm_pdo_mapping.h"
    52 #include "fsm_pdo_mapping.h"
    52 #include "fsm_pdo_config.h"
       
    53 
    53 
    54 /*****************************************************************************/
    54 /*****************************************************************************/
    55 
    55 
    56 /** \see ec_fsm_slave_config */
    56 /** \see ec_fsm_slave_config */
    57 typedef struct ec_fsm_slave_config ec_fsm_slave_config_t;
    57 typedef struct ec_fsm_slave_config ec_fsm_slave_config_t;
    66 
    66 
    67     void (*state)(ec_fsm_slave_config_t *); /**< State function. */
    67     void (*state)(ec_fsm_slave_config_t *); /**< State function. */
    68     ec_sdo_request_t *request; /**< Sdo request for Sdo configuration. */
    68     ec_sdo_request_t *request; /**< Sdo request for Sdo configuration. */
    69     ec_fsm_change_t fsm_change; /**< State change state machine. */
    69     ec_fsm_change_t fsm_change; /**< State change state machine. */
    70     ec_fsm_coe_t fsm_coe; /**< CoE state machine. */
    70     ec_fsm_coe_t fsm_coe; /**< CoE state machine. */
    71     ec_fsm_pdo_mapping_t fsm_pdo_map; /**< Pdo mapping state machine. */
    71     ec_fsm_pdo_assign_t fsm_pdo_assign; /**< Pdo assignment state machine. */
    72     ec_fsm_pdo_config_t fsm_pdo_conf; /**< Pdo configuration state machine. */
    72     ec_fsm_pdo_mapping_t fsm_pdo_mapping; /**< Pdo mapping state machine. */
    73 };
    73 };
    74 
    74 
    75 /*****************************************************************************/
    75 /*****************************************************************************/
    76 
    76 
    77 void ec_fsm_slave_config_init(ec_fsm_slave_config_t *, ec_datagram_t *);
    77 void ec_fsm_slave_config_init(ec_fsm_slave_config_t *, ec_datagram_t *);