master/fsm_pdo_config.h
changeset 814 a51f857b1b2d
parent 801 6b1e2b0ed8bc
child 854 f4f53be425ac
equal deleted inserted replaced
813:bfc3f1ab52de 814:a51f857b1b2d
    30  *  Technology, IP and trade marks.
    30  *  Technology, IP and trade marks.
    31  *
    31  *
    32  *****************************************************************************/
    32  *****************************************************************************/
    33 
    33 
    34 /** \file
    34 /** \file
    35  * EtherCAT PDO configuration state machine structures.
    35  * EtherCAT Pdo configuration state machine structures.
    36  */
    36  */
    37 
    37 
    38 /*****************************************************************************/
    38 /*****************************************************************************/
    39 
    39 
    40 #ifndef __EC_FSM_PDO_CONFIG__
    40 #ifndef __EC_FSM_PDO_CONFIG__
    58 {
    58 {
    59     void (*state)(ec_fsm_pdo_config_t *); /**< state function */
    59     void (*state)(ec_fsm_pdo_config_t *); /**< state function */
    60     ec_fsm_coe_t *fsm_coe; /**< CoE state machine to use */
    60     ec_fsm_coe_t *fsm_coe; /**< CoE state machine to use */
    61     ec_slave_t *slave; /**< Slave the FSM runs on. */
    61     ec_slave_t *slave; /**< Slave the FSM runs on. */
    62 
    62 
    63     const ec_pdo_t *pdo; /**< Current PDO to configure. */
    63     const ec_pdo_t *pdo; /**< Current Pdo to configure. */
    64     const ec_pdo_entry_t *entry; /**< Current entry. */
    64     const ec_pdo_entry_t *entry; /**< Current entry. */
    65 
    65 
    66     ec_sdo_data_t sdodata; /**< SDO configuration data. */
    66     ec_sdo_data_t sdodata; /**< Sdo configuration data. */
    67     uint16_t sdo_value; /**< SDO value. */
    67     uint16_t sdo_value; /**< Sdo value. */
    68     unsigned int entry_count; /**< Number of configured entries. */
    68     unsigned int entry_count; /**< Number of configured entries. */
    69 };
    69 };
    70 
    70 
    71 /*****************************************************************************/
    71 /*****************************************************************************/
    72 
    72