fp@1335: /****************************************************************************** fp@1335: * fp@1335: * $Id$ fp@1335: * fp@1335: * Copyright (C) 2006-2008 Florian Pose, Ingenieurgemeinschaft IgH fp@1335: * fp@1335: * This file is part of the IgH EtherCAT Master. fp@1335: * fp@1335: * The IgH EtherCAT Master is free software; you can redistribute it and/or fp@1335: * modify it under the terms of the GNU General Public License version 2, as fp@1335: * published by the Free Software Foundation. fp@1335: * fp@1335: * The IgH EtherCAT Master is distributed in the hope that it will be useful, fp@1335: * but WITHOUT ANY WARRANTY; without even the implied warranty of fp@1335: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General fp@1335: * Public License for more details. fp@1335: * fp@1335: * You should have received a copy of the GNU General Public License along fp@1335: * with the IgH EtherCAT Master; if not, write to the Free Software fp@1335: * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA fp@1335: * fp@1363: * --- fp@1363: * fp@1363: * The license mentioned above concerns the source code only. Using the fp@1363: * EtherCAT technology and brand is only permitted in compliance with the fp@1363: * industrial property and similar rights of Beckhoff Automation GmbH. fp@1335: * fp@1335: *****************************************************************************/ fp@1335: fp@1335: #ifndef __FOE_H__ fp@1335: #define __FOE_H__ fp@1335: fp@1335: /*****************************************************************************/ fp@1335: fp@1335: typedef enum { fp@1335: FOE_BUSY = 0, fp@1335: FOE_READY = 1, fp@1335: FOE_IDLE = 2, fp@1335: FOE_WC_ERROR = 3, fp@1335: FOE_RECEIVE_ERROR = 4, fp@1335: FOE_PROT_ERROR = 5, fp@1335: FOE_NODATA_ERROR = 6, fp@1335: FOE_PACKETNO_ERROR = 7, fp@1336: FOE_OPCODE_ERROR = 8, fp@1335: FOE_TIMEOUT_ERROR = 9, fp@1335: FOE_SEND_RX_DATA_ERROR = 10, fp@1335: FOE_RX_DATA_ACK_ERROR = 11, fp@1335: FOE_ACK_ERROR = 12, fp@1335: FOE_MBOX_FETCH_ERROR = 13, fp@1335: FOE_READ_NODATA_ERROR = 14, fp@1335: FOE_MBOX_PROT_ERROR = 15, fp@1335: } ec_foe_error_t; fp@1335: fp@1335: /*****************************************************************************/ fp@1335: fp@1335: #endif