master/types.h
branchstable-1.0
changeset 1618 5cff10efb927
parent 195 674071846ee3
child 1619 0d4119024f55
equal deleted inserted replaced
1617:9f83a343ae75 1618:5cff10efb927
     1 /******************************************************************************
     1 /******************************************************************************
     2  *
       
     3  *  t y p e s . h
       
     4  *
       
     5  *  EtherCAT slave types.
       
     6  *
     2  *
     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 types.
       
    27 */
       
    28 
       
    29 /*****************************************************************************/
    10 
    30 
    11 #ifndef _EC_TYPES_H_
    31 #ifndef _EC_TYPES_H_
    12 #define _EC_TYPES_H_
    32 #define _EC_TYPES_H_
    13 
    33 
    14 #include <linux/types.h>
    34 #include <linux/types.h>
    48 ec_field_t;
    68 ec_field_t;
    49 
    69 
    50 /*****************************************************************************/
    70 /*****************************************************************************/
    51 
    71 
    52 /**
    72 /**
    53    Sync-Manager.
    73    Sync manager.
    54 */
    74 */
    55 
    75 
    56 typedef struct
    76 typedef struct
    57 {
    77 {
    58     uint16_t physical_start_address; /**< physical start address */
    78     uint16_t physical_start_address; /**< physical start address */