include/ecrt.h
branchstable-1.5
changeset 2434 fa52128477f6
parent 2433 3bdd7a747fae
child 2438 9c3e629a220c
equal deleted inserted replaced
2433:3bdd7a747fae 2434:fa52128477f6
    44  * - Added redundancy_active flag to ec_domain_state_t.
    44  * - Added redundancy_active flag to ec_domain_state_t.
    45  * - Added ecrt_master_link_state() method and ec_master_link_state_t to query
    45  * - Added ecrt_master_link_state() method and ec_master_link_state_t to query
    46  *   the state of a redundant link.
    46  *   the state of a redundant link.
    47  * - Added the EC_HAVE_REDUNDANCY define, to check, if the interface contains
    47  * - Added the EC_HAVE_REDUNDANCY define, to check, if the interface contains
    48  *   redundancy features.
    48  *   redundancy features.
       
    49  * - Added ecrt_sdo_request_index() to change SDO index and subindex after
       
    50  *   handler creation.
    49  *
    51  *
    50  * Changes in version 1.5:
    52  * Changes in version 1.5:
    51  *
    53  *
    52  * - Added the distributed clocks feature and the respective method
    54  * - Added the distributed clocks feature and the respective method
    53  *   ecrt_slave_config_dc() to configure a slave for cyclic operation, and
    55  *   ecrt_slave_config_dc() to configure a slave for cyclic operation, and
  1445 
  1447 
  1446 /*****************************************************************************
  1448 /*****************************************************************************
  1447  * SDO request methods.
  1449  * SDO request methods.
  1448  ****************************************************************************/
  1450  ****************************************************************************/
  1449 
  1451 
       
  1452 /** Set the SDO index and subindex.
       
  1453  *
       
  1454  * \attention If the SDO index and/or subindex is changed while
       
  1455  * ecrt_sdo_request_state() returns EC_SDO_REQUEST_BUSY, this may lead to
       
  1456  * unexpected results.
       
  1457  */
       
  1458 void ecrt_sdo_request_index(
       
  1459         ec_sdo_request_t *req, /**< SDO request. */
       
  1460         uint16_t index, /**< SDO index. */
       
  1461         uint8_t subindex /**< SDO subindex. */
       
  1462         );
       
  1463 
  1450 /** Set the timeout for an SDO request.
  1464 /** Set the timeout for an SDO request.
  1451  *
  1465  *
  1452  * If the request cannot be processed in the specified time, if will be marked
  1466  * If the request cannot be processed in the specified time, if will be marked
  1453  * as failed.
  1467  * as failed.
  1454  *
  1468  *