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