master/fsm_slave.h
changeset 802 b947d0b09f9a
parent 799 068a58b96965
child 814 a51f857b1b2d
equal deleted inserted replaced
801:6b1e2b0ed8bc 802:b947d0b09f9a
    46 #include "datagram.h"
    46 #include "datagram.h"
    47 #include "slave.h"
    47 #include "slave.h"
    48 #include "fsm_sii.h"
    48 #include "fsm_sii.h"
    49 #include "fsm_change.h"
    49 #include "fsm_change.h"
    50 #include "fsm_coe.h"
    50 #include "fsm_coe.h"
    51 #include "fsm_mapping.h"
    51 #include "fsm_pdo_mapping.h"
    52 #include "fsm_pdo_config.h"
    52 #include "fsm_pdo_config.h"
    53 
    53 
    54 /*****************************************************************************/
    54 /*****************************************************************************/
    55 
    55 
    56 typedef struct ec_fsm_slave ec_fsm_slave_t; /**< \see ec_fsm_slave */
    56 typedef struct ec_fsm_slave ec_fsm_slave_t; /**< \see ec_fsm_slave */
    68     uint16_t sii_offset; /**< SII offset in words. */
    68     uint16_t sii_offset; /**< SII offset in words. */
    69 
    69 
    70     ec_fsm_sii_t fsm_sii; /**< SII state machine. */
    70     ec_fsm_sii_t fsm_sii; /**< SII state machine. */
    71     ec_fsm_change_t fsm_change; /**< State change state machine. */
    71     ec_fsm_change_t fsm_change; /**< State change state machine. */
    72     ec_fsm_coe_t fsm_coe; /**< CoE state machine. */
    72     ec_fsm_coe_t fsm_coe; /**< CoE state machine. */
    73     ec_fsm_mapping_t fsm_map; /**< PDO mapping state machine. */
    73     ec_fsm_pdo_mapping_t fsm_pdo_map; /**< Pdo mapping state machine. */
    74     ec_fsm_pdo_config_t fsm_pdo; /**< PDO configuration state machine. */
    74     ec_fsm_pdo_config_t fsm_pdo_conf; /**< Pdo configuration state machine. */
    75 };
    75 };
    76 
    76 
    77 /*****************************************************************************/
    77 /*****************************************************************************/
    78 
    78 
    79 void ec_fsm_slave_init(ec_fsm_slave_t *, ec_datagram_t *);
    79 void ec_fsm_slave_init(ec_fsm_slave_t *, ec_datagram_t *);