Multithreaded-software/external/soem/soem/ethercatconfig.c
int ec_config(uint8 usetable, void *pIOmap)
{
   int wkc;
   wkc = ec_config_init(usetable);
   if (wkc)
   {
      ec_config_map(pIOmap);
   }
   return wkc;
}
/** Enumerate / map and init all slaves.
 *
 * @param[in] usetable    = TRUE when using configtable to init slaves, FALSE otherwise
 * @param[out] pIOmap     = pointer to IOmap
 * @return Workcounter of slave discover datagram = number of slaves found
 */
Enumerate / map and init all slaves.
@param[in] usetable    = TRUE when using configtable to init slaves, FALSE otherwise
@param[out] pIOmap     = pointer to IOmap
@return Workcounter of slave discover datagram = number of slaves found
Enumerate / map and init all slaves . @param [ in ] usetable = TRUE when using configtable to init slaves FALSE otherwise @param [ out ] pIOmap = pointer to IOmap @return Workcounter of slave discover datagram = number of slaves found
int ec_config(uint8 usetable, void *pIOmap)
{
   int wkc;
   wkc = ec_config_init(usetable);
   if (wkc)
   {
      ec_config_map(pIOmap);
   }
   return wkc;
}
int ec_config ( uint8 usetable , void * pIOmap ) { int wkc ; wkc = ec_config_init ( usetable ) ; if ( wkc ) { ec_config_map ( pIOmap ) ; } return wkc ; }
Enumerate / map and init all slaves.
Enumerate / map and init all slaves .