00001 /****************************************************************************** 00002 * 00003 * $Id$ 00004 * 00005 * Copyright (C) 2006-2008 Florian Pose, Ingenieurgemeinschaft IgH 00006 * 00007 * This file is part of the IgH EtherCAT Master. 00008 * 00009 * The IgH EtherCAT Master is free software; you can redistribute it and/or 00010 * modify it under the terms of the GNU General Public License version 2, as 00011 * published by the Free Software Foundation. 00012 * 00013 * The IgH EtherCAT Master is distributed in the hope that it will be useful, 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General 00016 * Public License for more details. 00017 * 00018 * You should have received a copy of the GNU General Public License along 00019 * with the IgH EtherCAT Master; if not, write to the Free Software 00020 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00021 * 00022 * --- 00023 * 00024 * The license mentioned above concerns the source code only. Using the 00025 * EtherCAT technology and brand is only permitted in compliance with the 00026 * industrial property and similar rights of Beckhoff Automation GmbH. 00027 * 00028 *****************************************************************************/ 00029 00034 #ifndef __FOE_H__ 00035 #define __FOE_H__ 00036 00037 /*****************************************************************************/ 00038 00041 typedef enum { 00042 FOE_BUSY = 0, 00043 FOE_READY = 1, 00044 FOE_IDLE = 2, 00045 FOE_WC_ERROR = 3, 00046 FOE_RECEIVE_ERROR = 4, 00047 FOE_PROT_ERROR = 5, 00048 FOE_NODATA_ERROR = 6, 00049 FOE_PACKETNO_ERROR = 7, 00050 FOE_OPCODE_ERROR = 8, 00051 FOE_TIMEOUT_ERROR = 9, 00052 FOE_SEND_RX_DATA_ERROR = 10, 00053 FOE_RX_DATA_ACK_ERROR = 11, 00054 FOE_ACK_ERROR = 12, 00055 FOE_MBOX_FETCH_ERROR = 13, 00056 FOE_READ_NODATA_ERROR = 14, 00057 FOE_MBOX_PROT_ERROR = 15, 00058 } ec_foe_error_t; 00059 00060 /*****************************************************************************/ 00061 00062 #endif
1.5.6