include/ecrt.h
changeset 1009 6012e1414bec
parent 1007 b6c3527697c3
child 1010 6672b86e7b10
equal deleted inserted replaced
1008:bfa040859b56 1009:6012e1414bec
   244 typedef struct {
   244 typedef struct {
   245     uint16_t alias; /**< Slave alias address. */
   245     uint16_t alias; /**< Slave alias address. */
   246     uint16_t position; /**< Slave position. */
   246     uint16_t position; /**< Slave position. */
   247     uint32_t vendor_id; /**< Slave vendor ID. */
   247     uint32_t vendor_id; /**< Slave vendor ID. */
   248     uint32_t product_code; /**< Slave product code. */
   248     uint32_t product_code; /**< Slave product code. */
       
   249     uint32_t revision_number; /**< Slave revision number. */
   249     uint16_t index; /**< Pdo entry index. */
   250     uint16_t index; /**< Pdo entry index. */
   250     uint8_t subindex; /**< Pdo entry subindex. */
   251     uint8_t subindex; /**< Pdo entry subindex. */
   251     unsigned int *offset; /**< Pointer to a variable to store the Pdo entry's
   252     unsigned int *offset; /**< Pointer to a variable to store the Pdo entry's
   252                        (byte-)offset in the process data. */
   253                        (byte-)offset in the process data. */
   253     unsigned int *bit_position; /** Pointer to a variable to store a bit 
   254     unsigned int *bit_position; /** Pointer to a variable to store a bit 
   348 ec_slave_config_t *ecrt_master_slave_config(
   349 ec_slave_config_t *ecrt_master_slave_config(
   349         ec_master_t *master, /**< EtherCAT master */
   350         ec_master_t *master, /**< EtherCAT master */
   350         uint16_t alias, /**< Slave alias. */
   351         uint16_t alias, /**< Slave alias. */
   351         uint16_t position, /**< Slave position. */
   352         uint16_t position, /**< Slave position. */
   352         uint32_t vendor_id, /**< Expected vendor ID. */
   353         uint32_t vendor_id, /**< Expected vendor ID. */
   353         uint32_t product_code /**< Expected product code. */
   354         uint32_t product_code, /**< Expected product code. */
       
   355         uint32_t revision_number /**< Expected revision number. */
   354         );
   356         );
   355 
   357 
   356 /** Finishes the configuration phase and prepares for realtime mode.
   358 /** Finishes the configuration phase and prepares for realtime mode.
   357  *
   359  *
   358  * This function tells the master that the configuration phase is finished and
   360  * This function tells the master that the configuration phase is finished and