equal
deleted
inserted
replaced
60 { |
60 { |
61 void (*state)(ec_fsm_pdo_assign_t *); /**< State function. */ |
61 void (*state)(ec_fsm_pdo_assign_t *); /**< State function. */ |
62 ec_fsm_coe_t *fsm_coe; /**< CoE state machine to use. */ |
62 ec_fsm_coe_t *fsm_coe; /**< CoE state machine to use. */ |
63 ec_slave_t *slave; /**< Slave the FSM runs on. */ |
63 ec_slave_t *slave; /**< Slave the FSM runs on. */ |
64 |
64 |
65 ec_direction_t dir; /**< Current direction. */ |
65 uint8_t sync_index; /**< Current sync manager index. */ |
66 const ec_pdo_list_t *pdos; /**< Target Pdo assignment. */ |
66 const ec_pdo_list_t *pdos; /**< Target Pdo assignment. */ |
67 const ec_sync_t *sync; /**< Current sync manager. */ |
67 const ec_sync_t *sync; /**< Current sync manager. */ |
68 unsigned int num_configured_dirs; /**< Number of configured directions. */ |
68 unsigned int num_configured_syncs; /**< Number of configured |
|
69 assignments. */ |
69 const ec_pdo_t *pdo; /**< Current Pdo. */ |
70 const ec_pdo_t *pdo; /**< Current Pdo. */ |
70 |
71 |
71 ec_sdo_request_t request; /**< Sdo request. */ |
72 ec_sdo_request_t request; /**< Sdo request. */ |
72 unsigned int pdo_count; /**< Number of assigned Pdos. */ |
73 unsigned int pdo_count; /**< Number of assigned Pdos. */ |
73 }; |
74 }; |