1515 ****************************************************************************/ |
1515 ****************************************************************************/ |
1516 |
1516 |
1517 /** Set the SDO index and subindex. |
1517 /** Set the SDO index and subindex. |
1518 * |
1518 * |
1519 * \attention If the SDO index and/or subindex is changed while |
1519 * \attention If the SDO index and/or subindex is changed while |
1520 * ecrt_sdo_request_state() returns EC_SDO_REQUEST_BUSY, this may lead to |
1520 * ecrt_sdo_request_state() returns EC_REQUEST_BUSY, this may lead to |
1521 * unexpected results. |
1521 * unexpected results. |
1522 */ |
1522 */ |
1523 void ecrt_sdo_request_index( |
1523 void ecrt_sdo_request_index( |
1524 ec_sdo_request_t *req, /**< SDO request. */ |
1524 ec_sdo_request_t *req, /**< SDO request. */ |
1525 uint16_t index, /**< SDO index. */ |
1525 uint16_t index, /**< SDO index. */ |
1594 #endif |
1594 #endif |
1595 |
1595 |
1596 /** Schedule an SDO write operation. |
1596 /** Schedule an SDO write operation. |
1597 * |
1597 * |
1598 * \attention This method may not be called while ecrt_sdo_request_state() |
1598 * \attention This method may not be called while ecrt_sdo_request_state() |
1599 * returns EC_SDO_REQUEST_BUSY. |
1599 * returns EC_REQUEST_BUSY. |
1600 */ |
1600 */ |
1601 void ecrt_sdo_request_write( |
1601 void ecrt_sdo_request_write( |
1602 ec_sdo_request_t *req /**< SDO request. */ |
1602 ec_sdo_request_t *req /**< SDO request. */ |
1603 ); |
1603 ); |
1604 |
1604 |
1605 /** Schedule an SDO read operation. |
1605 /** Schedule an SDO read operation. |
1606 * |
1606 * |
1607 * \attention This method may not be called while ecrt_sdo_request_state() |
1607 * \attention This method may not be called while ecrt_sdo_request_state() |
1608 * returns EC_SDO_REQUEST_BUSY. |
1608 * returns EC_REQUEST_BUSY. |
1609 * |
1609 * |
1610 * \attention After calling this function, the return value of |
1610 * \attention After calling this function, the return value of |
1611 * ecrt_sdo_request_data() must be considered as invalid while |
1611 * ecrt_sdo_request_data() must be considered as invalid while |
1612 * ecrt_sdo_request_state() returns EC_SDO_REQUEST_BUSY. |
1612 * ecrt_sdo_request_state() returns EC_REQUEST_BUSY. |
1613 */ |
1613 */ |
1614 void ecrt_sdo_request_read( |
1614 void ecrt_sdo_request_read( |
1615 ec_sdo_request_t *req /**< SDO request. */ |
1615 ec_sdo_request_t *req /**< SDO request. */ |
1616 ); |
1616 ); |
1617 |
1617 |