include/ecrt.h
changeset 1526 66edd310830c
parent 1513 60ca68d853b8
child 1530 96629de2202b
equal deleted inserted replaced
1525:ee18735e534f 1526:66edd310830c
    51  *   ecrt_master_send_ext() is used to execute the sending of non-application
    51  *   ecrt_master_send_ext() is used to execute the sending of non-application
    52  *   datagrams.
    52  *   datagrams.
    53  * - Added watchdog configuration (method ecrt_slave_config_watchdog(),
    53  * - Added watchdog configuration (method ecrt_slave_config_watchdog(),
    54  *   #ec_watchdog_mode_t, \a watchdog_mode parameter in ec_sync_info_t and
    54  *   #ec_watchdog_mode_t, \a watchdog_mode parameter in ec_sync_info_t and
    55  *   ecrt_slave_config_sync_manager()).
    55  *   ecrt_slave_config_sync_manager()).
       
    56  * - Added ecrt_slave_config_complete_sdo() method to download an SDO during
       
    57  *   configuration via CompleteAccess.
    56  * - Added ecrt_open_master() and ecrt_master_reserve() separation for
    58  * - Added ecrt_open_master() and ecrt_master_reserve() separation for
    57  *   userspace.
    59  *   userspace.
    58  * - Added bus information interface (methods ecrt_master(),
    60  * - Added bus information interface (methods ecrt_master(),
    59  *   ecrt_master_get_slave(), ecrt_master_get_sync_manager(),
    61  *   ecrt_master_get_slave(), ecrt_master_get_sync_manager(),
    60  *   ecrt_master_get_pdo() and ecrt_master_get_pdo_entry()) to get information
    62  *   ecrt_master_get_pdo() and ecrt_master_get_pdo_entry()) to get information
  1030         uint16_t sdo_index, /**< Index of the SDO to configure. */
  1032         uint16_t sdo_index, /**< Index of the SDO to configure. */
  1031         uint8_t sdo_subindex, /**< Subindex of the SDO to configure. */
  1033         uint8_t sdo_subindex, /**< Subindex of the SDO to configure. */
  1032         uint32_t value /**< Value to set. */
  1034         uint32_t value /**< Value to set. */
  1033         );
  1035         );
  1034 
  1036 
       
  1037 /** Add configuration data for a complete SDO.
       
  1038  *
       
  1039  * The SDO data are transferred via CompleteAccess. Data for the first
       
  1040  * subindex (0) have to be included.
       
  1041  *
       
  1042  * \see ecrt_slave_config_sdo().
       
  1043  *
       
  1044  * \retval  0 Success.
       
  1045  * \retval <0 Error code.
       
  1046  */
       
  1047 int ecrt_slave_config_complete_sdo(
       
  1048         ec_slave_config_t *sc, /**< Slave configuration. */
       
  1049         uint16_t index, /**< Index of the SDO to configure. */
       
  1050         const uint8_t *data, /**< Pointer to the data. */
       
  1051         size_t size /**< Size of the \a data. */
       
  1052         );
       
  1053 
  1035 /** Create an SDO request to exchange SDOs during realtime operation.
  1054 /** Create an SDO request to exchange SDOs during realtime operation.
  1036  *
  1055  *
  1037  * The created SDO request object is freed automatically when the master is
  1056  * The created SDO request object is freed automatically when the master is
  1038  * released.
  1057  * released.
  1039  */
  1058  */