master/foe.h
branch1.4-foe
changeset 1707 11ec009e145d
child 1336 e27b37e80a99
equal deleted inserted replaced
1706:c55ebaa206f8 1707:11ec009e145d
       
     1 /******************************************************************************
       
     2  *
       
     3  *  $Id$
       
     4  *
       
     5  *  Copyright (C) 2006-2008  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 and/or
       
    10  *  modify it under the terms of the GNU General Public License version 2, as
       
    11  *  published by the Free Software Foundation.
       
    12  *
       
    13  *  The IgH EtherCAT Master is distributed in the hope that it will be useful,
       
    14  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    15  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
       
    16  *  Public License for more details.
       
    17  *
       
    18  *  You should have received a copy of the GNU General Public License along
       
    19  *  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  *
       
    22  *  Using the EtherCAT technology and brand is permitted in compliance with
       
    23  *  the industrial property and similar rights of Beckhoff Automation GmbH.
       
    24  *
       
    25  *****************************************************************************/
       
    26 
       
    27 #ifndef __FOE_H__
       
    28 #define __FOE_H__
       
    29 
       
    30 /*****************************************************************************/
       
    31 
       
    32 typedef enum {
       
    33     FOE_BUSY               = 0,
       
    34     FOE_READY              = 1,
       
    35     FOE_IDLE               = 2,
       
    36     FOE_WC_ERROR           = 3,
       
    37     FOE_RECEIVE_ERROR      = 4,
       
    38     FOE_PROT_ERROR         = 5,
       
    39     FOE_NODATA_ERROR       = 6,
       
    40     FOE_PACKETNO_ERROR     = 7,
       
    41     FOE_OPMODE_ERROR       = 8,
       
    42     FOE_TIMEOUT_ERROR      = 9,
       
    43     FOE_SEND_RX_DATA_ERROR = 10,
       
    44     FOE_RX_DATA_ACK_ERROR  = 11,
       
    45     FOE_ACK_ERROR          = 12,
       
    46     FOE_MBOX_FETCH_ERROR   = 13,
       
    47     FOE_READ_NODATA_ERROR  = 14,
       
    48     FOE_MBOX_PROT_ERROR    = 15,
       
    49 } ec_foe_error_t;
       
    50 
       
    51 /*****************************************************************************/
       
    52 
       
    53 #endif