master/types.c
branchstable-1.0
changeset 1618 5cff10efb927
parent 195 674071846ee3
child 1619 0d4119024f55
equal deleted inserted replaced
1617:9f83a343ae75 1618:5cff10efb927
     1 /******************************************************************************
     1 /******************************************************************************
     2  *
     2  *
     3  *  t y p e s . c
       
     4  *
       
     5  *  EtherCAT slave descriptions.
       
     6  *
       
     7  *  $Id$
     3  *  $Id$
     8  *
     4  *
       
     5  *  Copyright (C) 2006  Florian Pose, Ingenieurgemeinschaft IgH
       
     6  *
       
     7  *  This file is part of the IgH EtherCAT Master.
       
     8  *
       
     9  *  The IgH EtherCAT Master is free software; you can redistribute it
       
    10  *  and/or modify it under the terms of the GNU General Public License
       
    11  *  as published by the Free Software Foundation; version 2 of the License.
       
    12  *
       
    13  *  The IgH EtherCAT Master is distributed in the hope that it will be
       
    14  *  useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    15  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       
    16  *  GNU General Public License for more details.
       
    17  *
       
    18  *  You should have received a copy of the GNU General Public License
       
    19  *  along with the IgH EtherCAT Master; if not, write to the Free Software
       
    20  *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
       
    21  *
     9  *****************************************************************************/
    22  *****************************************************************************/
       
    23 
       
    24 /**
       
    25    \file
       
    26    EtherCAT slave descriptions.
       
    27    \cond
       
    28 */
       
    29 
       
    30 /*****************************************************************************/
    10 
    31 
    11 #include <linux/module.h>
    32 #include <linux/module.h>
    12 
    33 
    13 #include "globals.h"
    34 #include "globals.h"
    14 #include "types.h"
    35 #include "types.h"
   187 
   208 
   188 const ec_slave_type_t TR_Electronic_LinEnc2 = {
   209 const ec_slave_type_t TR_Electronic_LinEnc2 = {
   189     "TR-Electronic", "LinEnc2", "SSI-Encoder", EC_TYPE_NORMAL,
   210     "TR-Electronic", "LinEnc2", "SSI-Encoder", EC_TYPE_NORMAL,
   190     {&trlinenc2_sm0, &trlinenc2_sm1, &trlinenc2_sm2, &trlinenc2_sm3, NULL}
   211     {&trlinenc2_sm0, &trlinenc2_sm1, &trlinenc2_sm2, &trlinenc2_sm3, NULL}
   191 };
   212 };
       
   213 
       
   214 /** \endcond */
   192 
   215 
   193 /*****************************************************************************/
   216 /*****************************************************************************/
   194 
   217 
   195 /**
   218 /**
   196    Mapping between vendor IDs and product codes <=> slave objects.
   219    Mapping between vendor IDs and product codes <=> slave objects.