include/ecrt.h
changeset 1314 b3d06a8807b3
parent 1313 ed15eef57d5c
child 1326 ef907b0b5125
equal deleted inserted replaced
1313:ed15eef57d5c 1314:b3d06a8807b3
  1047  */
  1047  */
  1048 void ecrt_voe_handler_read(
  1048 void ecrt_voe_handler_read(
  1049         ec_voe_handler_t *voe /**< VoE handler. */
  1049         ec_voe_handler_t *voe /**< VoE handler. */
  1050         );
  1050         );
  1051 
  1051 
       
  1052 /** Start a VoE read operation without querying the sync manager status.
       
  1053  *
       
  1054  * After this function has been called, the ecrt_voe_handler_execute() method
       
  1055  * must be called in every bus cycle as long as it returns EC_REQUEST_BUSY. No
       
  1056  * other operation may be started while the handler is busy.
       
  1057  *
       
  1058  * The state machine queries the slave by sending an empty mailbox. The slave
       
  1059  * fills its data to the master in this mailbox. If no data appear within the
       
  1060  * EC_VOE_RESPONSE_TIMEOUT (defined in master/voe_handler.c), the operation
       
  1061  * fails.
       
  1062  *
       
  1063  * On success, the size of the read data can be determined via
       
  1064  * ecrt_voe_handler_data_size(), while the VoE header of the received data
       
  1065  * can be retrieved with ecrt_voe_handler_received_header().
       
  1066  */
       
  1067 void ecrt_voe_handler_read_nosync(
       
  1068         ec_voe_handler_t *voe /**< VoE handler. */
       
  1069         );
       
  1070 
  1052 /** Execute the handler.
  1071 /** Execute the handler.
  1053  *
  1072  *
  1054  * This method executes the VoE handler. It has to be called in every bus cycle
  1073  * This method executes the VoE handler. It has to be called in every bus cycle
  1055  * as long as it returns EC_REQUEST_BUSY.
  1074  * as long as it returns EC_REQUEST_BUSY.
  1056  *
  1075  *