master/slave_config.c
branchstable-1.5
changeset 2522 ec403cf308eb
parent 2505 5ef3197e5e1f
child 2653 291dddb7233e
equal deleted inserted replaced
2521:3d68bb0047a1 2522:ec403cf308eb
   386 /*****************************************************************************/
   386 /*****************************************************************************/
   387 
   387 
   388 /** Finds an SDO configuration via its position in the list.
   388 /** Finds an SDO configuration via its position in the list.
   389  *
   389  *
   390  * Const version.
   390  * Const version.
       
   391  *
       
   392  * \return Search result, or NULL.
   391  */
   393  */
   392 const ec_sdo_request_t *ec_slave_config_get_sdo_by_pos_const(
   394 const ec_sdo_request_t *ec_slave_config_get_sdo_by_pos_const(
   393         const ec_slave_config_t *sc, /**< Slave configuration. */
   395         const ec_slave_config_t *sc, /**< Slave configuration. */
   394         unsigned int pos /**< Position in the list. */
   396         unsigned int pos /**< Position in the list. */
   395         )
   397         )
   428 /*****************************************************************************/
   430 /*****************************************************************************/
   429 
   431 
   430 /** Finds an IDN configuration via its position in the list.
   432 /** Finds an IDN configuration via its position in the list.
   431  *
   433  *
   432  * Const version.
   434  * Const version.
       
   435  *
       
   436  * \return Search result, or NULL.
   433  */
   437  */
   434 const ec_soe_request_t *ec_slave_config_get_idn_by_pos_const(
   438 const ec_soe_request_t *ec_slave_config_get_idn_by_pos_const(
   435         const ec_slave_config_t *sc, /**< Slave configuration. */
   439         const ec_slave_config_t *sc, /**< Slave configuration. */
   436         unsigned int pos /**< Position in the list. */
   440         unsigned int pos /**< Position in the list. */
   437         )
   441         )
   448 }
   452 }
   449 
   453 
   450 /*****************************************************************************/
   454 /*****************************************************************************/
   451 
   455 
   452 /** Finds a CoE handler via its position in the list.
   456 /** Finds a CoE handler via its position in the list.
       
   457  *
       
   458  * \return Search result, or NULL.
   453  */
   459  */
   454 ec_sdo_request_t *ec_slave_config_find_sdo_request(
   460 ec_sdo_request_t *ec_slave_config_find_sdo_request(
   455         ec_slave_config_t *sc, /**< Slave configuration. */
   461         ec_slave_config_t *sc, /**< Slave configuration. */
   456         unsigned int pos /**< Position in the list. */
   462         unsigned int pos /**< Position in the list. */
   457         )
   463         )
   468 }
   474 }
   469 
   475 
   470 /*****************************************************************************/
   476 /*****************************************************************************/
   471 
   477 
   472 /** Finds a register handler via its position in the list.
   478 /** Finds a register handler via its position in the list.
       
   479  *
       
   480  * \return Search result, or NULL.
   473  */
   481  */
   474 ec_reg_request_t *ec_slave_config_find_reg_request(
   482 ec_reg_request_t *ec_slave_config_find_reg_request(
   475         ec_slave_config_t *sc, /**< Slave configuration. */
   483         ec_slave_config_t *sc, /**< Slave configuration. */
   476         unsigned int pos /**< Position in the list. */
   484         unsigned int pos /**< Position in the list. */
   477         )
   485         )
   488 }
   496 }
   489 
   497 
   490 /*****************************************************************************/
   498 /*****************************************************************************/
   491 
   499 
   492 /** Finds a VoE handler via its position in the list.
   500 /** Finds a VoE handler via its position in the list.
       
   501  *
       
   502  * \return Search result, or NULL.
   493  */
   503  */
   494 ec_voe_handler_t *ec_slave_config_find_voe_handler(
   504 ec_voe_handler_t *ec_slave_config_find_voe_handler(
   495         ec_slave_config_t *sc, /**< Slave configuration. */
   505         ec_slave_config_t *sc, /**< Slave configuration. */
   496         unsigned int pos /**< Position in the list. */
   506         unsigned int pos /**< Position in the list. */
   497         )
   507         )