master/fsm_coe_map.h
changeset 879 9b395c5646ab
parent 831 ded9519c8d6e
child 883 4963e22a267a
equal deleted inserted replaced
878:40c379697ebf 879:9b395c5646ab
    65     ec_sync_t *sync; /**< Pdo sync manager. */
    65     ec_sync_t *sync; /**< Pdo sync manager. */
    66     uint16_t sync_sdo_index; /**< Index of the mapping Sdo. */
    66     uint16_t sync_sdo_index; /**< Index of the mapping Sdo. */
    67     uint8_t sync_subindices; /**< number of mapped Pdos */
    67     uint8_t sync_subindices; /**< number of mapped Pdos */
    68     uint16_t sync_subindex; /**< current subindex in mapping Sdo */
    68     uint16_t sync_subindex; /**< current subindex in mapping Sdo */
    69 
    69 
    70     ec_pdo_mapping_t mapping; /**< Mapping to apply. */
    70     ec_pdo_list_t pdos; /**< List of read in Pdos. */
    71     ec_pdo_t *pdo; /**< current Pdo */
    71     ec_pdo_t *pdo; /**< Current Pdo. */
    72     ec_sdo_t *pdo_sdo; /**< current Pdo Sdo */
    72     ec_sdo_t *pdo_sdo; /**< Current Pdo Sdo. */
    73     uint8_t pdo_subindices; /**< number of Pdo entries */
    73     uint8_t pdo_subindices; /**< Number of Pdo entries. */
    74     uint16_t pdo_subindex; /**< current subindex in Pdo Sdo */
    74     uint16_t pdo_subindex; /**< Current subindex in Pdo Sdo. */
    75 };
    75 };
    76 
    76 
    77 /*****************************************************************************/
    77 /*****************************************************************************/
    78 
    78 
    79 void ec_fsm_coe_map_init(ec_fsm_coe_map_t *, ec_fsm_coe_t *);
    79 void ec_fsm_coe_map_init(ec_fsm_coe_map_t *, ec_fsm_coe_t *);