master/types.c
changeset 199 04ecf40fc2e9
parent 197 b9a6e2c22745
child 246 0bf7c769de06
equal deleted inserted replaced
198:f7dff1ed01ba 199:04ecf40fc2e9
     1 /******************************************************************************
     1 /******************************************************************************
     2  *
       
     3  *  t y p e s . c
       
     4  *
       
     5  *  EtherCAT slave descriptions.
       
     6  *
     2  *
     7  *  $Id$
     3  *  $Id$
     8  *
     4  *
     9  *  Copyright (C) 2006  Florian Pose, Ingenieurgemeinschaft IgH
     5  *  Copyright (C) 2006  Florian Pose, Ingenieurgemeinschaft IgH
    10  *
     6  *
    22  *  You should have received a copy of the GNU General Public License
    18  *  You should have received a copy of the GNU General Public License
    23  *  along with the IgH EtherCAT Master; if not, write to the Free Software
    19  *  along with the IgH EtherCAT Master; if not, write to the Free Software
    24  *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    20  *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    25  *
    21  *
    26  *****************************************************************************/
    22  *****************************************************************************/
       
    23 
       
    24 /**
       
    25    \file
       
    26    EtherCAT slave descriptions.
       
    27    \cond
       
    28 */
       
    29 
       
    30 /*****************************************************************************/
    27 
    31 
    28 #include <linux/module.h>
    32 #include <linux/module.h>
    29 
    33 
    30 #include "globals.h"
    34 #include "globals.h"
    31 #include "types.h"
    35 #include "types.h"
   204 
   208 
   205 const ec_slave_type_t TR_Electronic_LinEnc2 = {
   209 const ec_slave_type_t TR_Electronic_LinEnc2 = {
   206     "TR-Electronic", "LinEnc2", "SSI-Encoder", EC_TYPE_NORMAL,
   210     "TR-Electronic", "LinEnc2", "SSI-Encoder", EC_TYPE_NORMAL,
   207     {&trlinenc2_sm0, &trlinenc2_sm1, &trlinenc2_sm2, &trlinenc2_sm3, NULL}
   211     {&trlinenc2_sm0, &trlinenc2_sm1, &trlinenc2_sm2, &trlinenc2_sm3, NULL}
   208 };
   212 };
       
   213 
       
   214 /** \endcond */
   209 
   215 
   210 /*****************************************************************************/
   216 /*****************************************************************************/
   211 
   217 
   212 /**
   218 /**
   213    Mapping between vendor IDs and product codes <=> slave objects.
   219    Mapping between vendor IDs and product codes <=> slave objects.