IgH EtherCAT Master
1.6.2
foe.h
Go to the documentation of this file.
1
/*****************************************************************************
2
*
3
* Copyright (C) 2006-2008 Florian Pose, Ingenieurgemeinschaft IgH
4
*
5
* This file is part of the IgH EtherCAT Master.
6
*
7
* The IgH EtherCAT Master is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU General Public License version 2, as
9
* published by the Free Software Foundation.
10
*
11
* The IgH EtherCAT Master is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
14
* Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License along
17
* with the IgH EtherCAT Master; if not, write to the Free Software
18
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19
*
20
****************************************************************************/
21
26
#ifndef __FOE_H__
27
#define __FOE_H__
28
29
/****************************************************************************/
30
33
typedef
enum
{
34
FOE_BUSY
= 0,
35
FOE_READY
= 1,
36
FOE_IDLE
= 2,
37
FOE_WC_ERROR
= 3,
38
FOE_RECEIVE_ERROR
= 4,
39
FOE_PROT_ERROR
= 5,
40
FOE_NODATA_ERROR
= 6,
41
FOE_PACKETNO_ERROR
= 7,
42
FOE_OPCODE_ERROR
= 8,
43
FOE_TIMEOUT_ERROR
= 9,
44
FOE_SEND_RX_DATA_ERROR
= 10,
45
FOE_RX_DATA_ACK_ERROR
= 11,
46
FOE_ACK_ERROR
= 12,
47
FOE_MBOX_FETCH_ERROR
= 13,
48
FOE_READ_NODATA_ERROR
= 14,
49
FOE_MBOX_PROT_ERROR
= 15,
50
}
ec_foe_error_t
;
51
52
/****************************************************************************/
53
54
#endif
FOE_RECEIVE_ERROR
Receive error.
Definition:
foe.h:38
FOE_MBOX_FETCH_ERROR
Error fetching data from mailbox.
Definition:
foe.h:47
FOE_WC_ERROR
Working counter error.
Definition:
foe.h:37
FOE_NODATA_ERROR
No data error.
Definition:
foe.h:40
FOE_PACKETNO_ERROR
Packet number error.
Definition:
foe.h:41
FOE_OPCODE_ERROR
OpCode error.
Definition:
foe.h:42
ec_foe_error_t
ec_foe_error_t
FoE error enumeration type.
Definition:
foe.h:33
FOE_RX_DATA_ACK_ERROR
Error acknowledging received data.
Definition:
foe.h:45
FOE_BUSY
Busy.
Definition:
foe.h:34
FOE_TIMEOUT_ERROR
Timeout error.
Definition:
foe.h:43
FOE_IDLE
Idle.
Definition:
foe.h:36
FOE_PROT_ERROR
Protocol error.
Definition:
foe.h:39
FOE_READY
Ready.
Definition:
foe.h:35
FOE_SEND_RX_DATA_ERROR
Error sending received data.
Definition:
foe.h:44
FOE_MBOX_PROT_ERROR
Mailbox protocol error.
Definition:
foe.h:49
FOE_ACK_ERROR
Acknowledge error.
Definition:
foe.h:46
FOE_READ_NODATA_ERROR
No data while reading.
Definition:
foe.h:48
Documentation automatically created by
. - IgH EtherCAT Master developed by
Ingenieurgemeinschaft IgH GmbH
. All rights reserved.