include/ecrt.h
changeset 869 6c2f4130ed46
parent 868 aaf175ef0171
child 878 40c379697ebf
equal deleted inserted replaced
868:aaf175ef0171 869:6c2f4130ed46
   670  */
   670  */
   671 uint8_t *ecrt_sdo_request_data(
   671 uint8_t *ecrt_sdo_request_data(
   672         ec_sdo_request_t *req /**< Sdo request. */
   672         ec_sdo_request_t *req /**< Sdo request. */
   673         );
   673         );
   674 
   674 
       
   675 /** Returns the current Sdo data size.
       
   676  *
       
   677  * When the Sdo request is created, the data size is set to the size of the
       
   678  * reserved memory. After a read operation the size is set to the size of the
       
   679  * read data. The size is not modified in any other situation.
       
   680  *
       
   681  * \return Sdo data size in bytes.
       
   682  */
       
   683 size_t ecrt_sdo_request_data_size(
       
   684         const ec_sdo_request_t *req /**< Sdo request. */
       
   685         );
       
   686 
   675 /** Get the current state of the Sdo request.
   687 /** Get the current state of the Sdo request.
   676  *
   688  *
   677  * \return Request state.
   689  * \return Request state.
   678  */
   690  */
   679 ec_sdo_request_state_t ecrt_sdo_request_state(
   691 ec_sdo_request_state_t ecrt_sdo_request_state(